pub enum LayerShellAnchor {
None = 0,
Top = 1,
Bottom = 2,
Left = 4,
Right = 8,
}Expand description
Layer-shell anchor edges (bitmask).
Variants§
None = 0
No anchor (centered)
Top = 1
Anchored to top edge
Bottom = 2
Anchored to bottom edge
Left = 4
Anchored to left edge
Right = 8
Anchored to right edge
Trait Implementations§
Source§impl Clone for LayerShellAnchor
impl Clone for LayerShellAnchor
Source§fn clone(&self) -> LayerShellAnchor
fn clone(&self) -> LayerShellAnchor
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayerShellAnchor
impl Debug for LayerShellAnchor
Source§impl PartialEq for LayerShellAnchor
impl PartialEq for LayerShellAnchor
impl Copy for LayerShellAnchor
impl Eq for LayerShellAnchor
impl StructuralPartialEq for LayerShellAnchor
Auto Trait Implementations§
impl Freeze for LayerShellAnchor
impl RefUnwindSafe for LayerShellAnchor
impl Send for LayerShellAnchor
impl Sync for LayerShellAnchor
impl Unpin for LayerShellAnchor
impl UnwindSafe for LayerShellAnchor
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)