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