pub enum LayerPosition {
FromBack(usize),
FromFront(usize),
}Expand description
Identifies a layer in a StackView.
Variants§
FromBack(usize)
Starts from the back (bottom) of the stack.
FromFront(usize)
Starts from the front (top) of the stack.
Trait Implementations§
Source§impl Clone for LayerPosition
impl Clone for LayerPosition
Source§fn clone(&self) -> LayerPosition
fn clone(&self) -> LayerPosition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayerPosition
impl Debug for LayerPosition
Source§impl Hash for LayerPosition
impl Hash for LayerPosition
Source§impl PartialEq for LayerPosition
impl PartialEq for LayerPosition
Source§impl Resolvable for LayerPosition
impl Resolvable for LayerPosition
impl Copy for LayerPosition
impl Eq for LayerPosition
impl StructuralPartialEq for LayerPosition
Auto Trait Implementations§
impl Freeze for LayerPosition
impl RefUnwindSafe for LayerPosition
impl Send for LayerPosition
impl Sync for LayerPosition
impl Unpin for LayerPosition
impl UnwindSafe for LayerPosition
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.