pub struct Gap(pub usize);Expand description
An element that renders a blank space of the specified width.
Tuple Fields§
§0: usizeTrait Implementations§
impl Copy for Gap
Auto Trait Implementations§
impl Freeze for Gap
impl RefUnwindSafe for Gap
impl Send for Gap
impl Sync for Gap
impl Unpin for Gap
impl UnwindSafe for Gap
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<E> IntoElement for Ewhere
E: Element,
impl<E> IntoElement for Ewhere
E: Element,
Source§type ElementType = E
type ElementType = E
The element type to be converted into.
Source§fn into_element(self) -> <E as IntoElement>::ElementType
fn into_element(self) -> <E as IntoElement>::ElementType
Converts this type into an
Element.Source§fn fixed_width(self, width: usize) -> FixedWidth<Self::ElementType>
fn fixed_width(self, width: usize) -> FixedWidth<Self::ElementType>
Convenience function to wrap this element in a
FixedWidth.Source§fn with_style(self, style: Style) -> Styled<Self::ElementType>
fn with_style(self, style: Style) -> Styled<Self::ElementType>
Convenience function to wrap this element in a
Styled.