pub enum NotCurrent {}Expand description
A type that Contexts which are not currently current on any thread take
as a generic.
See ContextWrapper::make_current for more details.
Trait Implementations§
Source§impl Clone for NotCurrent
impl Clone for NotCurrent
Source§fn clone(&self) -> NotCurrent
fn clone(&self) -> NotCurrent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NotCurrent
impl Debug for NotCurrent
impl ContextCurrentState for NotCurrent
impl Copy for NotCurrent
Auto Trait Implementations§
impl Freeze for NotCurrent
impl RefUnwindSafe for NotCurrent
impl Send for NotCurrent
impl Sync for NotCurrent
impl Unpin for NotCurrent
impl UnwindSafe for NotCurrent
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