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