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