#[non_exhaustive]pub enum PositionAnchor {
Auto,
MatchParent,
None,
Normal,
Raw(Raw),
}Expand description
A value of position-anchor.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
auto.
MatchParent
match-parent.
None
none.
Normal
normal.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for PositionAnchor
impl Clone for PositionAnchor
Source§fn clone(&self) -> PositionAnchor
fn clone(&self) -> PositionAnchor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PositionAnchor
impl Debug for PositionAnchor
Source§impl Display for PositionAnchor
impl Display for PositionAnchor
Source§impl From<Raw> for PositionAnchor
impl From<Raw> for PositionAnchor
Source§impl PartialEq for PositionAnchor
impl PartialEq for PositionAnchor
impl StructuralPartialEq for PositionAnchor
Auto Trait Implementations§
impl Freeze for PositionAnchor
impl RefUnwindSafe for PositionAnchor
impl Send for PositionAnchor
impl Sync for PositionAnchor
impl Unpin for PositionAnchor
impl UnsafeUnpin for PositionAnchor
impl UnwindSafe for PositionAnchor
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