pub struct Inset(pub Option<f32>, pub Option<f32>, pub Option<f32>, pub Option<f32>);Expand description
Keyless style! property wrapper setting (top, right, bottom, left) positioned offsets.
Tuple Fields§
§0: Option<f32>§1: Option<f32>§2: Option<f32>§3: Option<f32>Trait Implementations§
impl Copy for Inset
impl StructuralPartialEq for Inset
Source§impl StyleApply for Inset
StyleApply implementation for Inset.
impl StyleApply for Inset
StyleApply implementation for Inset.
Source§fn apply_in_place(self, style: &mut Style)
fn apply_in_place(self, style: &mut Style)
Applies Inset(top, right, bottom, left) directly in place onto style.
§Arguments
Self- Four-edge inset wrapper.&mut Style- Style accumulator mutated in place.
Auto Trait Implementations§
impl Forget for Inset
impl Freeze for Inset
impl Move for Inset
impl RefUnwindSafe for Inset
impl Send for Inset
impl Sync for Inset
impl Unpin for Inset
impl UnsafeUnpin for Inset
impl UnwindSafe for Inset
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