Struct glib::main_context::ThreadDefaultContext
source · struct ThreadDefaultContext<'a>(&'a MainContext);
Tuple Fields§
§0: &'a MainContext
Implementations§
source§impl<'a> ThreadDefaultContext<'a>
impl<'a> ThreadDefaultContext<'a>
fn new(ctx: &MainContext) -> ThreadDefaultContext<'_>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ThreadDefaultContext<'a>
impl<'a> RefUnwindSafe for ThreadDefaultContext<'a>
impl<'a> Send for ThreadDefaultContext<'a>
impl<'a> Sync for ThreadDefaultContext<'a>
impl<'a> Unpin for ThreadDefaultContext<'a>
impl<'a> UnwindSafe for ThreadDefaultContext<'a>
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