pub struct ArgumentCount { /* private fields */ }Implementations§
Source§impl ArgumentCount
impl ArgumentCount
pub fn new(argument_count: u8) -> Self
pub fn number_arguments(&self) -> u8
pub fn number_arguments_mut(&mut self) -> &mut u8
pub fn string_arguments(&self) -> u8
pub fn string_arguments_mut(&mut self) -> &mut u8
Trait Implementations§
Source§impl Clone for ArgumentCount
impl Clone for ArgumentCount
Source§fn clone(&self) -> ArgumentCount
fn clone(&self) -> ArgumentCount
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 PartialEq for ArgumentCount
impl PartialEq for ArgumentCount
impl StructuralPartialEq for ArgumentCount
Auto Trait Implementations§
impl Freeze for ArgumentCount
impl RefUnwindSafe for ArgumentCount
impl Send for ArgumentCount
impl Sync for ArgumentCount
impl Unpin for ArgumentCount
impl UnwindSafe for ArgumentCount
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