#[non_exhaustive]pub enum AddressMode {
Repeat,
MirrorRepeat,
ClampToEdge,
}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.
Trait Implementations§
Source§impl Clone for AddressMode
impl Clone for AddressMode
impl Copy for AddressMode
Source§impl Debug for AddressMode
impl Debug for AddressMode
impl Eq for AddressMode
Source§impl PartialEq for AddressMode
impl PartialEq for AddressMode
impl StructuralPartialEq for AddressMode
Auto Trait Implementations§
impl Forget for AddressMode
impl Freeze for AddressMode
impl RefUnwindSafe for AddressMode
impl Send for AddressMode
impl Sync for AddressMode
impl Unpin for AddressMode
impl UnsafeUnpin for AddressMode
impl UnwindSafe for AddressMode
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