Struct oo_bindgen::model::TypedStructDeclaration
source · pub struct TypedStructDeclaration<T> { /* private fields */ }
Expand description
Typed wrapper around an untyped struct declaration
Implementations§
Trait Implementations§
source§impl<T> AsRef<Handle<StructDeclaration>> for TypedStructDeclaration<T>
impl<T> AsRef<Handle<StructDeclaration>> for TypedStructDeclaration<T>
source§fn as_ref(&self) -> &StructDeclarationHandle
fn as_ref(&self) -> &StructDeclarationHandle
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<T: Clone> Clone for TypedStructDeclaration<T>
impl<T: Clone> Clone for TypedStructDeclaration<T>
source§fn clone(&self) -> TypedStructDeclaration<T>
fn clone(&self) -> TypedStructDeclaration<T>
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<T: Debug> Debug for TypedStructDeclaration<T>
impl<T: Debug> Debug for TypedStructDeclaration<T>
source§impl From<TypedStructDeclaration<FunctionArgStructField>> for FunctionArgument
impl From<TypedStructDeclaration<FunctionArgStructField>> for FunctionArgument
source§fn from(x: FunctionArgStructDeclaration) -> Self
fn from(x: FunctionArgStructDeclaration) -> Self
Converts to this type from the input type.
source§impl From<TypedStructDeclaration<FunctionReturnStructField>> for FunctionReturnValue
impl From<TypedStructDeclaration<FunctionReturnStructField>> for FunctionReturnValue
source§fn from(x: FunctionReturnStructDeclaration) -> Self
fn from(x: FunctionReturnStructDeclaration) -> Self
Converts to this type from the input type.
source§impl From<TypedStructDeclaration<UniversalStructField>> for FunctionArgument
impl From<TypedStructDeclaration<UniversalStructField>> for FunctionArgument
source§fn from(x: UniversalStructDeclaration) -> Self
fn from(x: UniversalStructDeclaration) -> Self
Converts to this type from the input type.
source§impl From<TypedStructDeclaration<UniversalStructField>> for FunctionReturnStructDeclaration
impl From<TypedStructDeclaration<UniversalStructField>> for FunctionReturnStructDeclaration
source§fn from(x: UniversalStructDeclaration) -> Self
fn from(x: UniversalStructDeclaration) -> Self
Converts to this type from the input type.
source§impl From<TypedStructDeclaration<UniversalStructField>> for FunctionReturnValue
impl From<TypedStructDeclaration<UniversalStructField>> for FunctionReturnValue
source§fn from(x: UniversalStructDeclaration) -> Self
fn from(x: UniversalStructDeclaration) -> Self
Converts to this type from the input type.