pub struct BorderShorthand {
pub width: Option<f32>,
pub style: Option<BorderStyleSpec>,
pub color: Option<Rgba>,
}Expand description
Parsed result of a border:-family shorthand.
Fields§
§width: Option<f32>Width term, uniform on all sides. None = keep/default.
style: Option<BorderStyleSpec>Style keyword. None = not authored in the shorthand.
color: Option<Rgba>Color term.
Auto Trait Implementations§
impl Freeze for BorderShorthand
impl RefUnwindSafe for BorderShorthand
impl Send for BorderShorthand
impl Sync for BorderShorthand
impl Unpin for BorderShorthand
impl UnsafeUnpin for BorderShorthand
impl UnwindSafe for BorderShorthand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.