#[non_exhaustive]#[repr(u32)]pub enum LibraryProperty {
Major = 0,
Minor = 1,
Patch = 2,
}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 LibraryProperty
impl Clone for LibraryProperty
Source§fn clone(&self) -> LibraryProperty
fn clone(&self) -> LibraryProperty
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 moreimpl Copy for LibraryProperty
Source§impl Debug for LibraryProperty
impl Debug for LibraryProperty
Source§impl Display for LibraryProperty
impl Display for LibraryProperty
impl Eq for LibraryProperty
Source§impl From<LibraryProperty> for u32
impl From<LibraryProperty> for u32
Source§fn from(enum_value: LibraryProperty) -> Self
fn from(enum_value: LibraryProperty) -> Self
Converts to this type from the input type.
Source§impl From<LibraryProperty> for libraryPropertyType
impl From<LibraryProperty> for libraryPropertyType
Source§fn from(value: LibraryProperty) -> Self
fn from(value: LibraryProperty) -> Self
Converts to this type from the input type.
Source§impl From<libraryPropertyType_t> for LibraryProperty
impl From<libraryPropertyType_t> for LibraryProperty
Source§fn from(value: libraryPropertyType) -> Self
fn from(value: libraryPropertyType) -> Self
Converts to this type from the input type.
Source§impl Hash for LibraryProperty
impl Hash for LibraryProperty
Source§impl PartialEq for LibraryProperty
impl PartialEq for LibraryProperty
Source§fn eq(&self, other: &LibraryProperty) -> bool
fn eq(&self, other: &LibraryProperty) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LibraryProperty
Source§impl TryFrom<u32> for LibraryProperty
impl TryFrom<u32> for LibraryProperty
Source§type Error = TryFromPrimitiveError<LibraryProperty>
type Error = TryFromPrimitiveError<LibraryProperty>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for LibraryProperty
impl TryFromPrimitive for LibraryProperty
const NAME: &'static str = "LibraryProperty"
type Primitive = u32
type Error = TryFromPrimitiveError<LibraryProperty>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for LibraryProperty
impl RefUnwindSafe for LibraryProperty
impl Send for LibraryProperty
impl Sync for LibraryProperty
impl Unpin for LibraryProperty
impl UnsafeUnpin for LibraryProperty
impl UnwindSafe for LibraryProperty
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