pub struct InterfaceCount(/* private fields */);Expand description
Represents the interface count.
Implementations§
Source§impl InterfaceCount
impl InterfaceCount
Sourcepub const fn new() -> InterfaceCount
pub const fn new() -> InterfaceCount
Creates a new InterfaceCount.
Sourcepub const fn create(val: u32) -> InterfaceCount
pub const fn create(val: u32) -> InterfaceCount
Creates a new InterfaceCount from the provided parameter.
Sourcepub fn into_inner(self) -> u32
pub fn into_inner(self) -> u32
Converts into the inner representation of InterfaceCount.
Trait Implementations§
Source§impl Clone for InterfaceCount
impl Clone for InterfaceCount
Source§fn clone(&self) -> InterfaceCount
fn clone(&self) -> InterfaceCount
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 InterfaceCount
impl Debug for InterfaceCount
Source§impl Default for InterfaceCount
impl Default for InterfaceCount
Source§fn default() -> InterfaceCount
fn default() -> InterfaceCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InterfaceCount
impl<'de> Deserialize<'de> for InterfaceCount
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InterfaceCount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InterfaceCount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InterfaceCount
impl Display for InterfaceCount
Source§impl From<&InterfaceCount> for XfsMember
impl From<&InterfaceCount> for XfsMember
Source§fn from(val: &InterfaceCount) -> XfsMember
fn from(val: &InterfaceCount) -> XfsMember
Converts to this type from the input type.
Source§impl From<&InterfaceCount> for XfsValue
impl From<&InterfaceCount> for XfsValue
Source§fn from(val: &InterfaceCount) -> XfsValue
fn from(val: &InterfaceCount) -> XfsValue
Converts to this type from the input type.
Source§impl From<&i32> for InterfaceCount
impl From<&i32> for InterfaceCount
Source§fn from(val: &i32) -> InterfaceCount
fn from(val: &i32) -> InterfaceCount
Converts to this type from the input type.
Source§impl From<&u32> for InterfaceCount
impl From<&u32> for InterfaceCount
Source§fn from(val: &u32) -> InterfaceCount
fn from(val: &u32) -> InterfaceCount
Converts to this type from the input type.
Source§impl From<InterfaceCount> for XfsMember
impl From<InterfaceCount> for XfsMember
Source§fn from(val: InterfaceCount) -> XfsMember
fn from(val: InterfaceCount) -> XfsMember
Converts to this type from the input type.
Source§impl From<InterfaceCount> for XfsValue
impl From<InterfaceCount> for XfsValue
Source§fn from(val: InterfaceCount) -> XfsValue
fn from(val: InterfaceCount) -> XfsValue
Converts to this type from the input type.
Source§impl From<i32> for InterfaceCount
impl From<i32> for InterfaceCount
Source§fn from(val: i32) -> InterfaceCount
fn from(val: i32) -> InterfaceCount
Converts to this type from the input type.
Source§impl From<u32> for InterfaceCount
impl From<u32> for InterfaceCount
Source§fn from(val: u32) -> InterfaceCount
fn from(val: u32) -> InterfaceCount
Converts to this type from the input type.
Source§impl PartialEq for InterfaceCount
impl PartialEq for InterfaceCount
Source§impl Serialize for InterfaceCount
impl Serialize for InterfaceCount
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&XfsMember> for InterfaceCount
impl TryFrom<&XfsMember> for InterfaceCount
Source§impl TryFrom<&XfsValue> for InterfaceCount
impl TryFrom<&XfsValue> for InterfaceCount
Source§impl TryFrom<XfsMember> for InterfaceCount
impl TryFrom<XfsMember> for InterfaceCount
Source§impl TryFrom<XfsValue> for InterfaceCount
impl TryFrom<XfsValue> for InterfaceCount
impl Copy for InterfaceCount
impl Eq for InterfaceCount
impl StructuralPartialEq for InterfaceCount
Auto Trait Implementations§
impl Freeze for InterfaceCount
impl RefUnwindSafe for InterfaceCount
impl Send for InterfaceCount
impl Sync for InterfaceCount
impl Unpin for InterfaceCount
impl UnwindSafe for InterfaceCount
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