pub enum UserArgument {
Reference(u32),
Value(Comparand),
}Expand description
A data item passed BY REFERENCE passes its address. Any other argument passes its value, which the function’s activation moves into a temporary its formal parameter describes (C272).
Variants§
Trait Implementations§
Source§impl Clone for UserArgument
impl Clone for UserArgument
Source§fn clone(&self) -> UserArgument
fn clone(&self) -> UserArgument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UserArgument
impl Debug for UserArgument
Source§impl Decode for UserArgument
impl Decode for UserArgument
fn decode(r: &mut Reader<'_>) -> Result<UserArgument, ModuleError>
impl Eq for UserArgument
Source§impl PartialEq for UserArgument
impl PartialEq for UserArgument
impl StructuralPartialEq for UserArgument
Auto Trait Implementations§
impl Freeze for UserArgument
impl RefUnwindSafe for UserArgument
impl Send for UserArgument
impl Sync for UserArgument
impl Unpin for UserArgument
impl UnsafeUnpin for UserArgument
impl UnwindSafe for UserArgument
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