Struct glutin::PossiblyCurrent
source · [−]pub struct PossiblyCurrent { /* private fields */ }
Expand description
A type that Context
s which might possibly be currently current on some
thread take as a generic.
See ContextWrapper::make_current()
for more details.
Trait Implementations
sourceimpl Clone for PossiblyCurrent
impl Clone for PossiblyCurrent
sourcefn clone(&self) -> PossiblyCurrent
fn clone(&self) -> PossiblyCurrent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PossiblyCurrent
impl Debug for PossiblyCurrent
impl ContextCurrentState for PossiblyCurrent
impl Copy for PossiblyCurrent
Auto Trait Implementations
impl RefUnwindSafe for PossiblyCurrent
impl !Send for PossiblyCurrent
impl !Sync for PossiblyCurrent
impl Unpin for PossiblyCurrent
impl UnwindSafe for PossiblyCurrent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more