#[non_exhaustive]#[repr(u32)]pub enum SelectionTarget {
Crop = 0,
CropDefault = 1,
CropBounds = 2,
NativeSize = 3,
Compose = 256,
ComposeDefault = 257,
ComposeBounds = 258,
ComposePadded = 259,
}
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.
Crop = 0
CropDefault = 1
CropBounds = 2
NativeSize = 3
Compose = 256
ComposeDefault = 257
ComposeBounds = 258
ComposePadded = 259
Trait Implementations§
Source§impl AsRef<u32> for SelectionTarget
impl AsRef<u32> for SelectionTarget
Source§impl Clone for SelectionTarget
impl Clone for SelectionTarget
Source§fn clone(&self) -> SelectionTarget
fn clone(&self) -> SelectionTarget
Returns a copy 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 SelectionTarget
impl Debug for SelectionTarget
Source§impl Deref for SelectionTarget
impl Deref for SelectionTarget
Source§impl Display for SelectionTarget
impl Display for SelectionTarget
Source§impl From<SelectionTarget> for u32
impl From<SelectionTarget> for u32
Source§fn from(data: SelectionTarget) -> Self
fn from(data: SelectionTarget) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SelectionTarget
impl PartialEq for SelectionTarget
Source§impl TryFrom<u32> for SelectionTarget
impl TryFrom<u32> for SelectionTarget
impl Copy for SelectionTarget
impl Eq for SelectionTarget
impl StructuralPartialEq for SelectionTarget
Auto Trait Implementations§
impl Freeze for SelectionTarget
impl RefUnwindSafe for SelectionTarget
impl Send for SelectionTarget
impl Sync for SelectionTarget
impl Unpin for SelectionTarget
impl UnwindSafe for SelectionTarget
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