pub struct MagicRefinementContext {
pub scope: *mut Scope,
pub call_site: *const AstExprCall,
pub discriminant_types: Vec<Option<TypeId>>,
}Fields§
§scope: *mut Scope§call_site: *const AstExprCall§discriminant_types: Vec<Option<TypeId>>Trait Implementations§
Source§impl Clone for MagicRefinementContext
impl Clone for MagicRefinementContext
Source§fn clone(&self) -> MagicRefinementContext
fn clone(&self) -> MagicRefinementContext
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 moreAuto Trait Implementations§
impl !Send for MagicRefinementContext
impl !Sync for MagicRefinementContext
impl Freeze for MagicRefinementContext
impl RefUnwindSafe for MagicRefinementContext
impl Unpin for MagicRefinementContext
impl UnsafeUnpin for MagicRefinementContext
impl UnwindSafe for MagicRefinementContext
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