pub struct Object<'ctx> { /* private fields */ }
Expand description
Object represents the root of all objects in gccjit. It is not useful in and of itself, but it provides the implementation for Debug used by most objects in this library.
Implementations§
source§impl<'ctx> Object<'ctx>
impl<'ctx> Object<'ctx>
pub fn get_context(&self) -> ContextRef<'ctx>
Trait Implementations§
impl<'ctx> Copy for Object<'ctx>
Auto Trait Implementations§
impl<'ctx> RefUnwindSafe for Object<'ctx>
impl<'ctx> !Send for Object<'ctx>
impl<'ctx> !Sync for Object<'ctx>
impl<'ctx> Unpin for Object<'ctx>
impl<'ctx> UnwindSafe for Object<'ctx>
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