#[repr(C)]pub struct ModuleType(/* private fields */);
Expand description
Represents the module type of the VersionRequirement
Implementations§
Source§impl ModuleType
impl ModuleType
Sourcepub fn into_inner(self) -> u32
pub fn into_inner(self) -> u32
Converts into the inner representation of ModuleType
.
Trait Implementations§
Source§impl Clone for ModuleType
impl Clone for ModuleType
Source§fn clone(&self) -> ModuleType
fn clone(&self) -> ModuleType
Returns a duplicate 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 ModuleType
impl Debug for ModuleType
Source§impl Default for ModuleType
impl Default for ModuleType
Source§fn default() -> ModuleType
fn default() -> ModuleType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModuleType
impl<'de> Deserialize<'de> for ModuleType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ModuleType
impl Display for ModuleType
Source§impl From<&ModuleType> for XfsMember
impl From<&ModuleType> for XfsMember
Source§fn from(val: &ModuleType) -> Self
fn from(val: &ModuleType) -> Self
Converts to this type from the input type.
Source§impl From<&ModuleType> for XfsValue
impl From<&ModuleType> for XfsValue
Source§fn from(val: &ModuleType) -> Self
fn from(val: &ModuleType) -> Self
Converts to this type from the input type.
Source§impl From<&ModuleType> for i32
impl From<&ModuleType> for i32
Source§fn from(val: &ModuleType) -> Self
fn from(val: &ModuleType) -> Self
Converts to this type from the input type.
Source§impl From<&ModuleType> for u32
impl From<&ModuleType> for u32
Source§fn from(val: &ModuleType) -> Self
fn from(val: &ModuleType) -> Self
Converts to this type from the input type.
Source§impl From<&i32> for ModuleType
impl From<&i32> for ModuleType
Source§impl From<&u32> for ModuleType
impl From<&u32> for ModuleType
Source§impl From<ModuleType> for XfsMember
impl From<ModuleType> for XfsMember
Source§fn from(val: ModuleType) -> Self
fn from(val: ModuleType) -> Self
Converts to this type from the input type.
Source§impl From<ModuleType> for XfsValue
impl From<ModuleType> for XfsValue
Source§fn from(val: ModuleType) -> Self
fn from(val: ModuleType) -> Self
Converts to this type from the input type.
Source§impl From<ModuleType> for i32
impl From<ModuleType> for i32
Source§fn from(val: ModuleType) -> Self
fn from(val: ModuleType) -> Self
Converts to this type from the input type.
Source§impl From<ModuleType> for u32
impl From<ModuleType> for u32
Source§fn from(val: ModuleType) -> Self
fn from(val: ModuleType) -> Self
Converts to this type from the input type.
Source§impl From<i32> for ModuleType
impl From<i32> for ModuleType
Source§impl From<u32> for ModuleType
impl From<u32> for ModuleType
Source§impl PartialEq for ModuleType
impl PartialEq for ModuleType
Source§impl Serialize for ModuleType
impl Serialize for ModuleType
Source§impl TryFrom<&XfsMember> for ModuleType
impl TryFrom<&XfsMember> for ModuleType
Source§impl TryFrom<&XfsValue> for ModuleType
impl TryFrom<&XfsValue> for ModuleType
Source§impl TryFrom<XfsMember> for ModuleType
impl TryFrom<XfsMember> for ModuleType
Source§impl TryFrom<XfsValue> for ModuleType
impl TryFrom<XfsValue> for ModuleType
impl Copy for ModuleType
impl Eq for ModuleType
impl StructuralPartialEq for ModuleType
Auto Trait Implementations§
impl Freeze for ModuleType
impl RefUnwindSafe for ModuleType
impl Send for ModuleType
impl Sync for ModuleType
impl Unpin for ModuleType
impl UnwindSafe for ModuleType
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