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