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