Struct spirv_cross2::reflect::StructType
source · pub struct StructType<'a> {
pub id: Handle<TypeId>,
pub size: usize,
pub members: Vec<StructMember<'a>>,
}Expand description
Type definition for a struct.
Fields§
§id: Handle<TypeId>The type ID of the struct.
size: usizeThe size of the struct in bytes.
members: Vec<StructMember<'a>>The members of the struct.
Trait Implementations§
source§impl<'a> Clone for StructType<'a>
impl<'a> Clone for StructType<'a>
source§fn clone(&self) -> StructType<'a>
fn clone(&self) -> StructType<'a>
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<'a> Debug for StructType<'a>
impl<'a> Debug for StructType<'a>
source§impl<'a> PartialEq for StructType<'a>
impl<'a> PartialEq for StructType<'a>
impl<'a> Eq for StructType<'a>
impl<'a> StructuralPartialEq for StructType<'a>
Auto Trait Implementations§
impl<'a> Freeze for StructType<'a>
impl<'a> RefUnwindSafe for StructType<'a>
impl<'a> !Send for StructType<'a>
impl<'a> !Sync for StructType<'a>
impl<'a> Unpin for StructType<'a>
impl<'a> UnwindSafe for StructType<'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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)