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§
source§impl Clone for PossiblyCurrent
impl Clone for PossiblyCurrent
source§fn clone(&self) -> PossiblyCurrent
fn clone(&self) -> PossiblyCurrent
Returns a copy 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 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§
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