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