pub struct GenericArgument {
pub expr: ExprId,
pub is_generic: bool,
}Expand description
is_generic = the callee’s unsubstituted slot was a bare TypeVar; codegen emits cast::emit_box when set.
Fields§
§expr: ExprId§is_generic: boolTrait Implementations§
Source§impl Clone for GenericArgument
impl Clone for GenericArgument
Source§impl Debug for GenericArgument
impl Debug for GenericArgument
Source§impl PartialEq for GenericArgument
impl PartialEq for GenericArgument
impl StructuralPartialEq for GenericArgument
Auto Trait Implementations§
impl Freeze for GenericArgument
impl RefUnwindSafe for GenericArgument
impl Send for GenericArgument
impl Sync for GenericArgument
impl Unpin for GenericArgument
impl UnsafeUnpin for GenericArgument
impl UnwindSafe for GenericArgument
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