pub enum GeneratedType<'tu, 'ge> {
AbstractRefWrapper(AbstractRefWrapper<'tu, 'ge>),
Vector(Vector<'tu, 'ge>),
SmartPtr(SmartPtr<'tu, 'ge>),
Tuple(Tuple<'tu, 'ge>),
}
Variants§
AbstractRefWrapper(AbstractRefWrapper<'tu, 'ge>)
Vector(Vector<'tu, 'ge>)
SmartPtr(SmartPtr<'tu, 'ge>)
Tuple(Tuple<'tu, 'ge>)
Trait Implementations§
source§impl<'ne, 'tu: 'ne, 'ge: 'ne> AsRef<dyn RustNativeGeneratedElement + 'ne> for GeneratedType<'tu, 'ge>
impl<'ne, 'tu: 'ne, 'ge: 'ne> AsRef<dyn RustNativeGeneratedElement + 'ne> for GeneratedType<'tu, 'ge>
source§fn as_ref(&self) -> &(dyn RustNativeGeneratedElement + 'ne)
fn as_ref(&self) -> &(dyn RustNativeGeneratedElement + 'ne)
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl<'tu, 'ge> Freeze for GeneratedType<'tu, 'ge>
impl<'tu, 'ge> !RefUnwindSafe for GeneratedType<'tu, 'ge>
impl<'tu, 'ge> !Send for GeneratedType<'tu, 'ge>
impl<'tu, 'ge> !Sync for GeneratedType<'tu, 'ge>
impl<'tu, 'ge> Unpin for GeneratedType<'tu, 'ge>
impl<'tu, 'ge> !UnwindSafe for GeneratedType<'tu, 'ge>
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