pub struct Arg<'t> { /* private fields */ }
Expand description
A struct for temporary storage of the argument datatypes which
is used in environment.rs
for data type extraction.
Implementations§
Source§impl<'t> Arg<'t>
impl<'t> Arg<'t>
Sourcepub fn pop_arg(&self) -> Option<&'t ArgDataType>
pub fn pop_arg(&self) -> Option<&'t ArgDataType>
Pop argument data type. Does not check bounds. On first returned Option::None means the end of list was reached.
pub fn is_arg_enum_bind(&self) -> bool
pub fn get_arg_enum_bind(&self) -> &String
Trait Implementations§
Auto Trait Implementations§
impl<'t> !Freeze for Arg<'t>
impl<'t> !RefUnwindSafe for Arg<'t>
impl<'t> Send for Arg<'t>
impl<'t> !Sync for Arg<'t>
impl<'t> Unpin for Arg<'t>
impl<'t> UnwindSafe for Arg<'t>
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