Enum cairo::MeshCorner
source · #[non_exhaustive]pub enum MeshCorner {
MeshCorner0,
MeshCorner1,
MeshCorner2,
MeshCorner3,
}
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 MeshCorner
impl Clone for MeshCorner
source§fn clone(&self) -> MeshCorner
fn clone(&self) -> MeshCorner
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 MeshCorner
impl Debug for MeshCorner
source§impl PartialEq for MeshCorner
impl PartialEq for MeshCorner
source§fn eq(&self, other: &MeshCorner) -> bool
fn eq(&self, other: &MeshCorner) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MeshCorner
impl PartialOrd for MeshCorner
source§fn partial_cmp(&self, other: &MeshCorner) -> Option<Ordering>
fn partial_cmp(&self, other: &MeshCorner) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MeshCorner
impl Eq for MeshCorner
impl StructuralPartialEq for MeshCorner
Auto Trait Implementations§
impl Freeze for MeshCorner
impl RefUnwindSafe for MeshCorner
impl Send for MeshCorner
impl Sync for MeshCorner
impl Unpin for MeshCorner
impl UnwindSafe for MeshCorner
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)