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