pub enum IconAnchor {
Relative(RelativePosition),
Absolute(i32, i32),
}
Variants§
Relative(RelativePosition)
Absolute(i32, i32)
Trait Implementations§
Source§impl Clone for IconAnchor
impl Clone for IconAnchor
Source§fn clone(&self) -> IconAnchor
fn clone(&self) -> IconAnchor
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 Display for IconAnchor
impl Display for IconAnchor
Source§impl From<RelativePosition> for IconAnchor
impl From<RelativePosition> for IconAnchor
Source§fn from(position: RelativePosition) -> Self
fn from(position: RelativePosition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IconAnchor
impl RefUnwindSafe for IconAnchor
impl Send for IconAnchor
impl Sync for IconAnchor
impl Unpin for IconAnchor
impl UnwindSafe for IconAnchor
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