#[repr(u8)]pub enum FloatingAttachPointType {
LeftTop = 0,
LeftCenter = 1,
LeftBottom = 2,
CenterTop = 3,
CenterCenter = 4,
CenterBottom = 5,
RightTop = 6,
RightCenter = 7,
RightBottom = 8,
}
Expand description
Represents different attachment points for floating elements.
Variants§
LeftTop = 0
Attaches to the top-left of the parent.
LeftCenter = 1
Attaches to the center-left of the parent.
LeftBottom = 2
Attaches to the bottom-left of the parent.
CenterTop = 3
Attaches to the top-center of the parent.
CenterCenter = 4
Attaches to the center of the parent.
CenterBottom = 5
Attaches to the bottom-center of the parent.
RightTop = 6
Attaches to the top-right of the parent.
RightCenter = 7
Attaches to the center-right of the parent.
RightBottom = 8
Attaches to the bottom-right of the parent.
Trait Implementations§
Source§impl Clone for FloatingAttachPointType
impl Clone for FloatingAttachPointType
Source§fn clone(&self) -> FloatingAttachPointType
fn clone(&self) -> FloatingAttachPointType
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 FloatingAttachPointType
impl Debug for FloatingAttachPointType
impl Copy for FloatingAttachPointType
Auto Trait Implementations§
impl Freeze for FloatingAttachPointType
impl RefUnwindSafe for FloatingAttachPointType
impl Send for FloatingAttachPointType
impl Sync for FloatingAttachPointType
impl Unpin for FloatingAttachPointType
impl UnwindSafe for FloatingAttachPointType
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