#[repr(transparent)]pub struct Width(pub Length);Expand description
Keyless style! property wrapper setting layout box width.
Tuple Fields§
§0: LengthTrait Implementations§
impl Copy for Width
impl StructuralPartialEq for Width
Source§impl StyleApply for Width
StyleApply implementation for Width.
impl StyleApply for Width
StyleApply implementation for Width.
Source§fn apply_in_place(self, style: &mut Style)
fn apply_in_place(self, style: &mut Style)
Applies Width directly in place onto style.
§Arguments
Self- Target width wrapper.&mut Style- Style accumulator mutated in place.
Auto Trait Implementations§
impl Forget for Width
impl Freeze for Width
impl Move for Width
impl RefUnwindSafe for Width
impl Send for Width
impl Sync for Width
impl Unpin for Width
impl UnsafeUnpin for Width
impl UnwindSafe for Width
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