pub enum MirCallArg {
Single(MirOperand),
Expansion {
base: MirOperand,
indices: Vec<MirOperand>,
expand_all: bool,
},
}Variants§
Implementations§
Source§impl MirCallArg
impl MirCallArg
pub fn operand(&self) -> &MirOperand
Trait Implementations§
Source§impl Clone for MirCallArg
impl Clone for MirCallArg
Source§fn clone(&self) -> MirCallArg
fn clone(&self) -> MirCallArg
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 MirCallArg
impl Debug for MirCallArg
Source§impl<'de> Deserialize<'de> for MirCallArg
impl<'de> Deserialize<'de> for MirCallArg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MirCallArg
impl PartialEq for MirCallArg
Source§fn eq(&self, other: &MirCallArg) -> bool
fn eq(&self, other: &MirCallArg) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MirCallArg
impl Serialize for MirCallArg
impl StructuralPartialEq for MirCallArg
Auto Trait Implementations§
impl Freeze for MirCallArg
impl RefUnwindSafe for MirCallArg
impl Send for MirCallArg
impl Sync for MirCallArg
impl Unpin for MirCallArg
impl UnsafeUnpin for MirCallArg
impl UnwindSafe for MirCallArg
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