#[repr(C)]pub struct LogicalCashUnitList { /* private fields */ }Expand description
Represents a list of LogicalCashUnits.
Implementations§
Source§impl LogicalCashUnitList
impl LogicalCashUnitList
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new LogicalCashUnitList.
Sourcepub fn with_size(self, size: u32) -> Self
pub fn with_size(self, size: u32) -> Self
Builder function that sets the size of the items list.
Sourcepub fn items(&self) -> &[LogicalCashUnit]
pub fn items(&self) -> &[LogicalCashUnit]
Gets a list of the LogicalCashUnits.
Sourcepub fn items_mut(&mut self) -> &mut [LogicalCashUnit]
pub fn items_mut(&mut self) -> &mut [LogicalCashUnit]
Gets a mutable list of the LogicalCashUnits.
Sourcepub fn set_items(&mut self, items: &[LogicalCashUnit])
pub fn set_items(&mut self, items: &[LogicalCashUnit])
Sets a list of LogicalCashUnits.
Sourcepub fn with_items(self, items: &[LogicalCashUnit]) -> Self
pub fn with_items(self, items: &[LogicalCashUnit]) -> Self
Builder function that sets a list of LogicalCashUnits.
Trait Implementations§
Source§impl Clone for LogicalCashUnitList
impl Clone for LogicalCashUnitList
Source§fn clone(&self) -> LogicalCashUnitList
fn clone(&self) -> LogicalCashUnitList
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 LogicalCashUnitList
impl Debug for LogicalCashUnitList
Source§impl Default for LogicalCashUnitList
impl Default for LogicalCashUnitList
Source§impl Display for LogicalCashUnitList
impl Display for LogicalCashUnitList
Source§impl From<&LogicalCashUnitList> for XfsMember
impl From<&LogicalCashUnitList> for XfsMember
Source§fn from(val: &LogicalCashUnitList) -> Self
fn from(val: &LogicalCashUnitList) -> Self
Converts to this type from the input type.
Source§impl From<&LogicalCashUnitList> for XfsStruct
impl From<&LogicalCashUnitList> for XfsStruct
Source§fn from(val: &LogicalCashUnitList) -> Self
fn from(val: &LogicalCashUnitList) -> Self
Converts to this type from the input type.
Source§impl From<&LogicalCashUnitList> for XfsValue
impl From<&LogicalCashUnitList> for XfsValue
Source§fn from(val: &LogicalCashUnitList) -> Self
fn from(val: &LogicalCashUnitList) -> Self
Converts to this type from the input type.
Source§impl From<LogicalCashUnitList> for XfsMember
impl From<LogicalCashUnitList> for XfsMember
Source§fn from(val: LogicalCashUnitList) -> Self
fn from(val: LogicalCashUnitList) -> Self
Converts to this type from the input type.
Source§impl From<LogicalCashUnitList> for XfsStruct
impl From<LogicalCashUnitList> for XfsStruct
Source§fn from(val: LogicalCashUnitList) -> Self
fn from(val: LogicalCashUnitList) -> Self
Converts to this type from the input type.
Source§impl From<LogicalCashUnitList> for XfsValue
impl From<LogicalCashUnitList> for XfsValue
Source§fn from(val: LogicalCashUnitList) -> Self
fn from(val: LogicalCashUnitList) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LogicalCashUnitList
impl PartialEq for LogicalCashUnitList
Source§impl TryFrom<&XfsMember> for LogicalCashUnitList
impl TryFrom<&XfsMember> for LogicalCashUnitList
Source§impl TryFrom<&XfsStruct> for LogicalCashUnitList
impl TryFrom<&XfsStruct> for LogicalCashUnitList
Source§impl TryFrom<&XfsValue> for LogicalCashUnitList
impl TryFrom<&XfsValue> for LogicalCashUnitList
Source§impl TryFrom<XfsMember> for LogicalCashUnitList
impl TryFrom<XfsMember> for LogicalCashUnitList
Source§impl TryFrom<XfsStruct> for LogicalCashUnitList
impl TryFrom<XfsStruct> for LogicalCashUnitList
Source§impl TryFrom<XfsValue> for LogicalCashUnitList
impl TryFrom<XfsValue> for LogicalCashUnitList
impl Copy for LogicalCashUnitList
impl StructuralPartialEq for LogicalCashUnitList
Auto Trait Implementations§
impl Freeze for LogicalCashUnitList
impl RefUnwindSafe for LogicalCashUnitList
impl Send for LogicalCashUnitList
impl Sync for LogicalCashUnitList
impl Unpin for LogicalCashUnitList
impl UnwindSafe for LogicalCashUnitList
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