pub(crate) struct DynSurface(Arc<dyn SurfaceInterface>);
Available on
custom
only.Tuple Fields§
§0: Arc<dyn SurfaceInterface>
Implementations§
Source§impl DynSurface
impl DynSurface
pub(crate) fn new<T: SurfaceInterface>(t: T) -> Self
Trait Implementations§
Source§impl Clone for DynSurface
impl Clone for DynSurface
Source§fn clone(&self) -> DynSurface
fn clone(&self) -> DynSurface
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 DynSurface
impl Debug for DynSurface
Source§impl Deref for DynSurface
impl Deref for DynSurface
Source§impl Hash for DynSurface
impl Hash for DynSurface
Source§impl Ord for DynSurface
impl Ord for DynSurface
Source§impl PartialEq for DynSurface
impl PartialEq for DynSurface
Source§impl PartialOrd for DynSurface
impl PartialOrd for DynSurface
impl Eq for DynSurface
Auto Trait Implementations§
impl Freeze for DynSurface
impl !RefUnwindSafe for DynSurface
impl Send for DynSurface
impl Sync for DynSurface
impl Unpin for DynSurface
impl !UnwindSafe for DynSurface
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.