pub struct Declare {
pub def: DefId,
pub source: *mut AstStatLocal,
}Fields§
§def: DefId§source: *mut AstStatLocalImplementations§
Source§impl Declare
impl Declare
pub fn declare_declare(&mut self, def: DefId, source: *mut AstStatLocal)
Trait Implementations§
Source§impl InstructionMember for Declare
impl InstructionMember for Declare
fn get_if(v: &Instruction) -> Option<&Self>
fn get_if_mut(v: &mut Instruction) -> Option<&mut Self>
Source§impl IntoInstruction<Declare> for (DefId, *mut AstStatLocal)
impl IntoInstruction<Declare> for (DefId, *mut AstStatLocal)
fn into_instruction(self) -> Instruction
Auto Trait Implementations§
impl !Send for Declare
impl !Sync for Declare
impl Freeze for Declare
impl RefUnwindSafe for Declare
impl Unpin for Declare
impl UnsafeUnpin for Declare
impl UnwindSafe for Declare
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