pub struct SurfaceAttributes<T: SurfaceTypeTrait> { /* private fields */ }
Expand description
Attributes which are used for creating a particular surface.
Trait Implementations§
Source§impl<T: Clone + SurfaceTypeTrait> Clone for SurfaceAttributes<T>
impl<T: Clone + SurfaceTypeTrait> Clone for SurfaceAttributes<T>
Source§fn clone(&self) -> SurfaceAttributes<T>
fn clone(&self) -> SurfaceAttributes<T>
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<T: Debug + SurfaceTypeTrait> Debug for SurfaceAttributes<T>
impl<T: Debug + SurfaceTypeTrait> Debug for SurfaceAttributes<T>
Source§impl<T: Default + SurfaceTypeTrait> Default for SurfaceAttributes<T>
impl<T: Default + SurfaceTypeTrait> Default for SurfaceAttributes<T>
Source§fn default() -> SurfaceAttributes<T>
fn default() -> SurfaceAttributes<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> Freeze for SurfaceAttributes<T>
impl<T> RefUnwindSafe for SurfaceAttributes<T>where
T: RefUnwindSafe,
impl<T> !Send for SurfaceAttributes<T>
impl<T> !Sync for SurfaceAttributes<T>
impl<T> Unpin for SurfaceAttributes<T>where
T: Unpin,
impl<T> UnwindSafe for SurfaceAttributes<T>where
T: UnwindSafe,
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