Struct rspirv::sr::autogen_instructions::MemoryModel
source · pub struct MemoryModel {
pub addressing_model: AddressingModel,
pub memory_model: MemoryModel,
}
Fields§
§addressing_model: AddressingModel
§memory_model: MemoryModel
Trait Implementations§
source§impl Clone for MemoryModel
impl Clone for MemoryModel
source§fn clone(&self) -> MemoryModel
fn clone(&self) -> MemoryModel
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 MemoryModel
impl Debug for MemoryModel
source§impl PartialEq<MemoryModel> for MemoryModel
impl PartialEq<MemoryModel> for MemoryModel
source§fn eq(&self, other: &MemoryModel) -> bool
fn eq(&self, other: &MemoryModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MemoryModel
impl StructuralEq for MemoryModel
impl StructuralPartialEq for MemoryModel
Auto Trait Implementations§
impl RefUnwindSafe for MemoryModel
impl Send for MemoryModel
impl Sync for MemoryModel
impl Unpin for MemoryModel
impl UnwindSafe for MemoryModel
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