pub struct BillEndingInMMSectionCounters { /* private fields */ }Expand description
Represents a list of bill ending in main module section count items.
Implementations§
Source§impl BillEndingInMMSectionCounters
impl BillEndingInMMSectionCounters
Sourcepub const fn new() -> BillEndingInMMSectionCounters
pub const fn new() -> BillEndingInMMSectionCounters
Creates a new BillEndingInMMSectionCounters.
Sourcepub const fn max_size() -> usize
pub const fn max_size() -> usize
Gets the maximum number of BillEndingInMMSectionCounters items.
Sourcepub const fn size(&self) -> usize
pub const fn size(&self) -> usize
Gets the size of the BillEndingInMMSectionCounters.
Sourcepub fn set_size(&mut self, val: u32)
pub fn set_size(&mut self, val: u32)
Sets the size of the BillEndingInMMSectionCounters.
No-op if val is larger than BillEndingInMMSectionCounters.
Sourcepub fn with_size(self, val: u32) -> BillEndingInMMSectionCounters
pub fn with_size(self, val: u32) -> BillEndingInMMSectionCounters
Builder function that sets the size of the BillEndingInMMSectionCounters.
No-op if val is larger than BillEndingInMMSectionCounters.
Sourcepub fn items(&self) -> &[UnnamedCount]
pub fn items(&self) -> &[UnnamedCount]
Gets a reference to the list of set BillEndingInMMSectionCounters items.
Sourcepub fn set_items(&mut self, val: &[UnnamedCount])
pub fn set_items(&mut self, val: &[UnnamedCount])
Sets the list of BillEndingInMMSectionCounters items.
Sourcepub fn with_items(self, val: &[UnnamedCount]) -> BillEndingInMMSectionCounters
pub fn with_items(self, val: &[UnnamedCount]) -> BillEndingInMMSectionCounters
Builder function that sets the list of BillEndingInMMSectionCounters items.
Sourcepub fn push_item(&mut self, val: UnnamedCount)
pub fn push_item(&mut self, val: UnnamedCount)
Pushes a BillEndingInMMSectionCounters onto the end of the list.
No-op if the list is at capacity.
Trait Implementations§
Source§impl Clone for BillEndingInMMSectionCounters
impl Clone for BillEndingInMMSectionCounters
Source§fn clone(&self) -> BillEndingInMMSectionCounters
fn clone(&self) -> BillEndingInMMSectionCounters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for BillEndingInMMSectionCounters
impl Default for BillEndingInMMSectionCounters
Source§fn default() -> BillEndingInMMSectionCounters
fn default() -> BillEndingInMMSectionCounters
Source§impl From<&BillEndingInMMSectionCounters> for MainModuleSectionCounters
impl From<&BillEndingInMMSectionCounters> for MainModuleSectionCounters
Source§fn from(val: &BillEndingInMMSectionCounters) -> MainModuleSectionCounters
fn from(val: &BillEndingInMMSectionCounters) -> MainModuleSectionCounters
Source§impl From<&BillEndingInMMSectionCounters> for XfsArray
impl From<&BillEndingInMMSectionCounters> for XfsArray
Source§fn from(val: &BillEndingInMMSectionCounters) -> XfsArray
fn from(val: &BillEndingInMMSectionCounters) -> XfsArray
Source§impl From<&BillEndingInMMSectionCounters> for XfsMember
impl From<&BillEndingInMMSectionCounters> for XfsMember
Source§fn from(val: &BillEndingInMMSectionCounters) -> XfsMember
fn from(val: &BillEndingInMMSectionCounters) -> XfsMember
Source§impl From<&BillEndingInMMSectionCounters> for XfsValue
impl From<&BillEndingInMMSectionCounters> for XfsValue
Source§fn from(val: &BillEndingInMMSectionCounters) -> XfsValue
fn from(val: &BillEndingInMMSectionCounters) -> XfsValue
Source§impl From<BillEndingInMMSectionCounters> for MainModuleSectionCounters
impl From<BillEndingInMMSectionCounters> for MainModuleSectionCounters
Source§fn from(val: BillEndingInMMSectionCounters) -> MainModuleSectionCounters
fn from(val: BillEndingInMMSectionCounters) -> MainModuleSectionCounters
Source§impl From<BillEndingInMMSectionCounters> for XfsArray
impl From<BillEndingInMMSectionCounters> for XfsArray
Source§fn from(val: BillEndingInMMSectionCounters) -> XfsArray
fn from(val: BillEndingInMMSectionCounters) -> XfsArray
Source§impl From<BillEndingInMMSectionCounters> for XfsMember
impl From<BillEndingInMMSectionCounters> for XfsMember
Source§fn from(val: BillEndingInMMSectionCounters) -> XfsMember
fn from(val: BillEndingInMMSectionCounters) -> XfsMember
Source§impl From<BillEndingInMMSectionCounters> for XfsValue
impl From<BillEndingInMMSectionCounters> for XfsValue
Source§fn from(val: BillEndingInMMSectionCounters) -> XfsValue
fn from(val: BillEndingInMMSectionCounters) -> XfsValue
Source§impl PartialEq for BillEndingInMMSectionCounters
impl PartialEq for BillEndingInMMSectionCounters
Source§fn eq(&self, other: &BillEndingInMMSectionCounters) -> bool
fn eq(&self, other: &BillEndingInMMSectionCounters) -> bool
self and other values to be equal, and is used by ==.