Enum spirt::qptr::layout::TypeLayout
source · pub(super) enum TypeLayout {
Handle(Handle<Rc<MemTypeLayout>>),
HandleArray(Handle<Rc<MemTypeLayout>>, Option<NonZeroU32>),
Concrete(Rc<MemTypeLayout>),
}
Variants§
Handle(Handle<Rc<MemTypeLayout>>)
HandleArray(Handle<Rc<MemTypeLayout>>, Option<NonZeroU32>)
Concrete(Rc<MemTypeLayout>)
Trait Implementations§
source§impl Clone for TypeLayout
impl Clone for TypeLayout
source§fn clone(&self) -> TypeLayout
fn clone(&self) -> TypeLayout
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 moreAuto Trait Implementations§
impl RefUnwindSafe for TypeLayout
impl !Send for TypeLayout
impl !Sync for TypeLayout
impl Unpin for TypeLayout
impl UnwindSafe for TypeLayout
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