pub struct DividerProps {
pub vertical: bool,
}Expand description
A rule between neighbors (divider()): a hairline across the width it is offered, or,
with vertical, down the height it is offered (divider().vertical(), between a
row’s panes). A toolkit measures both the same way, as a horizontal rule, because the
pieces layer swaps the axes of a vertical one’s proposal and answer; realization is
where the orientation matters, for the few widgets that draw a horizontal line
regardless of their frame.
Fields§
§vertical: boolTrait Implementations§
Source§impl Clone for DividerProps
impl Clone for DividerProps
Source§fn clone(&self) -> DividerProps
fn clone(&self) -> DividerProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DividerProps
impl Debug for DividerProps
Source§impl Default for DividerProps
impl Default for DividerProps
Source§fn default() -> DividerProps
fn default() -> DividerProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for DividerProps
impl PartialEq for DividerProps
impl StructuralPartialEq for DividerProps
Auto Trait Implementations§
impl Freeze for DividerProps
impl RefUnwindSafe for DividerProps
impl Send for DividerProps
impl Sync for DividerProps
impl Unpin for DividerProps
impl UnsafeUnpin for DividerProps
impl UnwindSafe for DividerProps
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