pub struct LineProps {
pub class: String,
pub height: Option<Size>,
pub vertical: bool,
pub style: Option<Color>,
pub width: Option<Size>,
}Expand description
Properties for Line
Fields§
§class: StringCSS class
height: Option<Size>Height of the line
vertical: boolVertical (true) or horizontal line
style: Option<Color>Color style
width: Option<Size>Width of the line
Trait Implementations§
Source§impl Properties for LineProps
impl Properties for LineProps
impl StructuralPartialEq for LineProps
Auto Trait Implementations§
impl Freeze for LineProps
impl RefUnwindSafe for LineProps
impl Send for LineProps
impl Sync for LineProps
impl Unpin for LineProps
impl UnwindSafe for LineProps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.