pub struct LayerProperties {
pub spec_version: u32,
pub implementation_version: u32,
/* private fields */
}Fields§
§spec_version: u32§implementation_version: u32Implementations§
Source§impl LayerProperties
impl LayerProperties
pub fn spec_version(self, value: u32) -> Self
pub fn implementation_version(self, value: u32) -> Self
pub fn get_layer_name(&self) -> &CStr
pub fn get_description(&self) -> &CStr
Trait Implementations§
Source§impl Clone for LayerProperties
impl Clone for LayerProperties
Source§fn clone(&self) -> LayerProperties
fn clone(&self) -> LayerProperties
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LayerProperties
Source§impl Default for LayerProperties
impl Default for LayerProperties
impl Send for LayerProperties
impl Sync for LayerProperties
Auto Trait Implementations§
impl Freeze for LayerProperties
impl RefUnwindSafe for LayerProperties
impl Unpin for LayerProperties
impl UnsafeUnpin for LayerProperties
impl UnwindSafe for LayerProperties
Blanket Implementations§
impl<T> Alias<T> for T
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