pub enum Placement {
Side(Side),
AlignmentPlacement(AlignmentPlacement),
}
Variants§
Side(Side)
AlignmentPlacement(AlignmentPlacement)
Implementations§
Source§impl Placement
impl Placement
pub fn top() -> Self
pub fn top_start() -> Self
pub fn top_end() -> Self
pub fn right() -> Self
pub fn right_start() -> Self
pub fn right_end() -> Self
pub fn bottom() -> Self
pub fn bottom_start() -> Self
pub fn bottom_end() -> Self
pub fn left() -> Self
pub fn left_start() -> Self
pub fn left_end() -> Self
Trait Implementations§
Source§impl From<AlignmentPlacement> for Placement
impl From<AlignmentPlacement> for Placement
Source§fn from(v: AlignmentPlacement) -> Self
fn from(v: AlignmentPlacement) -> Self
Converts to this type from the input type.
Source§impl TryInto<AlignmentPlacement> for Placement
impl TryInto<AlignmentPlacement> for Placement
Auto Trait Implementations§
impl Freeze for Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnwindSafe for Placement
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