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