pub struct SurfaceDescriptor {
pub label: Option<String>,
/* private fields */
}Fields§
§label: Option<String>Implementations§
Source§impl SurfaceDescriptor
impl SurfaceDescriptor
pub fn new() -> Self
pub fn with_extension(self, extension: SurfaceDescriptorExtension) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SurfaceDescriptor
impl RefUnwindSafe for SurfaceDescriptor
impl !Send for SurfaceDescriptor
impl !Sync for SurfaceDescriptor
impl Unpin for SurfaceDescriptor
impl UnsafeUnpin for SurfaceDescriptor
impl UnwindSafe for SurfaceDescriptor
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