pub struct CooperativeMatrixPropertiesNVBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> CooperativeMatrixPropertiesNVBuilder<'a>
impl<'a> CooperativeMatrixPropertiesNVBuilder<'a>
pub fn m_size(self, m_size: u32) -> CooperativeMatrixPropertiesNVBuilder<'a>
pub fn n_size(self, n_size: u32) -> CooperativeMatrixPropertiesNVBuilder<'a>
pub fn k_size(self, k_size: u32) -> CooperativeMatrixPropertiesNVBuilder<'a>
pub fn a_type( self, a_type: ComponentTypeNV, ) -> CooperativeMatrixPropertiesNVBuilder<'a>
pub fn b_type( self, b_type: ComponentTypeNV, ) -> CooperativeMatrixPropertiesNVBuilder<'a>
pub fn c_type( self, c_type: ComponentTypeNV, ) -> CooperativeMatrixPropertiesNVBuilder<'a>
pub fn d_type( self, d_type: ComponentTypeNV, ) -> CooperativeMatrixPropertiesNVBuilder<'a>
pub fn scope(self, scope: ScopeNV) -> CooperativeMatrixPropertiesNVBuilder<'a>
Sourcepub fn build(self) -> CooperativeMatrixPropertiesNV
pub fn build(self) -> CooperativeMatrixPropertiesNV
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for CooperativeMatrixPropertiesNVBuilder<'a>
impl<'a> Deref for CooperativeMatrixPropertiesNVBuilder<'a>
Source§type Target = CooperativeMatrixPropertiesNV
type Target = CooperativeMatrixPropertiesNV
The resulting type after dereferencing.
Source§impl<'a> DerefMut for CooperativeMatrixPropertiesNVBuilder<'a>
impl<'a> DerefMut for CooperativeMatrixPropertiesNVBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for CooperativeMatrixPropertiesNVBuilder<'a>
impl<'a> RefUnwindSafe for CooperativeMatrixPropertiesNVBuilder<'a>
impl<'a> !Send for CooperativeMatrixPropertiesNVBuilder<'a>
impl<'a> !Sync for CooperativeMatrixPropertiesNVBuilder<'a>
impl<'a> Unpin for CooperativeMatrixPropertiesNVBuilder<'a>
impl<'a> UnwindSafe for CooperativeMatrixPropertiesNVBuilder<'a>
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.