#[repr(transparent)]pub struct Gap(pub f32);Expand description
Keyless style! property wrapper setting uniform row and column gap in logical pixels.
Tuple Fields§
§0: f32Trait Implementations§
impl Copy for Gap
impl StructuralPartialEq for Gap
Source§impl StyleApply for Gap
StyleApply implementation for Gap.
impl StyleApply for Gap
StyleApply implementation for Gap.
Source§fn apply_in_place(self, style: &mut Style)
fn apply_in_place(self, style: &mut Style)
Applies uniform Gap directly in place onto style.
§Arguments
Self- Uniform gap wrapper.&mut Style- Style accumulator mutated in place.
Auto Trait Implementations§
impl Forget for Gap
impl Freeze for Gap
impl Move for Gap
impl RefUnwindSafe for Gap
impl Send for Gap
impl Sync for Gap
impl Unpin for Gap
impl UnsafeUnpin 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