Struct oo_bindgen::model::Handle
source · pub struct Handle<T> { /* private fields */ }
Implementations§
source§impl Handle<Enum<Unvalidated>>
impl Handle<Enum<Unvalidated>>
pub fn value(&self, name: &'static str) -> BindResult<EnumValue>
source§impl Handle<Struct<UniversalStructField, Unvalidated>>
impl Handle<Struct<UniversalStructField, Unvalidated>>
pub fn zero_parameter_initializer( &self, name: &'static str ) -> BindResult<ZeroParameterStructInitializer>
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 From<Handle<AbstractIterator<Unvalidated>>> for CallbackArgStructField
impl From<Handle<AbstractIterator<Unvalidated>>> for CallbackArgStructField
source§fn from(x: AbstractIteratorHandle) -> Self
fn from(x: AbstractIteratorHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<AbstractIterator<Unvalidated>>> for CallbackArgument
impl From<Handle<AbstractIterator<Unvalidated>>> for CallbackArgument
source§fn from(x: AbstractIteratorHandle) -> Self
fn from(x: AbstractIteratorHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<AbstractIterator<Unvalidated>>> for FunctionReturnStructField
impl From<Handle<AbstractIterator<Unvalidated>>> for FunctionReturnStructField
source§fn from(x: AbstractIteratorHandle) -> Self
fn from(x: AbstractIteratorHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<ClassDeclaration>> for CallbackArgument
impl From<Handle<ClassDeclaration>> for CallbackArgument
source§fn from(x: ClassDeclarationHandle) -> Self
fn from(x: ClassDeclarationHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<ClassDeclaration>> for FunctionArgument
impl From<Handle<ClassDeclaration>> for FunctionArgument
source§fn from(x: ClassDeclarationHandle) -> Self
fn from(x: ClassDeclarationHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<ClassDeclaration>> for FunctionReturnStructField
impl From<Handle<ClassDeclaration>> for FunctionReturnStructField
source§fn from(x: ClassDeclarationHandle) -> Self
fn from(x: ClassDeclarationHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<ClassDeclaration>> for FunctionReturnValue
impl From<Handle<ClassDeclaration>> for FunctionReturnValue
source§fn from(x: ClassDeclarationHandle) -> Self
fn from(x: ClassDeclarationHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Collection<Unvalidated>>> for FunctionArgument
impl From<Handle<Collection<Unvalidated>>> for FunctionArgument
source§fn from(x: CollectionHandle) -> Self
fn from(x: CollectionHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Enum<Unvalidated>>> for BasicType
impl From<Handle<Enum<Unvalidated>>> for BasicType
source§fn from(x: EnumHandle) -> Self
fn from(x: EnumHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Enum<Unvalidated>>> for CallbackArgStructField
impl From<Handle<Enum<Unvalidated>>> for CallbackArgStructField
source§impl From<Handle<Enum<Unvalidated>>> for CallbackArgument
impl From<Handle<Enum<Unvalidated>>> for CallbackArgument
source§impl From<Handle<Enum<Unvalidated>>> for CallbackReturnValue
impl From<Handle<Enum<Unvalidated>>> for CallbackReturnValue
source§impl From<Handle<Enum<Unvalidated>>> for FunctionArgStructField
impl From<Handle<Enum<Unvalidated>>> for FunctionArgStructField
source§impl From<Handle<Enum<Unvalidated>>> for FunctionArgument
impl From<Handle<Enum<Unvalidated>>> for FunctionArgument
source§impl From<Handle<Enum<Unvalidated>>> for FunctionReturnValue
impl From<Handle<Enum<Unvalidated>>> for FunctionReturnValue
source§impl From<Handle<Enum<Unvalidated>>> for UniversalStructField
impl From<Handle<Enum<Unvalidated>>> for UniversalStructField
source§impl From<Handle<Struct<CallbackArgStructField, Unvalidated>>> for CallbackArgStructField
impl From<Handle<Struct<CallbackArgStructField, Unvalidated>>> for CallbackArgStructField
source§fn from(x: CallbackArgStructHandle) -> Self
fn from(x: CallbackArgStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<CallbackArgStructField, Unvalidated>>> for CallbackArgument
impl From<Handle<Struct<CallbackArgStructField, Unvalidated>>> for CallbackArgument
source§fn from(x: CallbackArgStructHandle) -> Self
fn from(x: CallbackArgStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<CallbackArgStructField, Unvalidated>>> for StructType<Unvalidated>
impl From<Handle<Struct<CallbackArgStructField, Unvalidated>>> for StructType<Unvalidated>
source§fn from(x: CallbackArgStructHandle) -> Self
fn from(x: CallbackArgStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<FunctionArgStructField, Unvalidated>>> for FunctionArgStructField
impl From<Handle<Struct<FunctionArgStructField, Unvalidated>>> for FunctionArgStructField
source§fn from(x: FunctionArgStructHandle) -> Self
fn from(x: FunctionArgStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<FunctionArgStructField, Unvalidated>>> for FunctionArgument
impl From<Handle<Struct<FunctionArgStructField, Unvalidated>>> for FunctionArgument
source§fn from(x: FunctionArgStructHandle) -> Self
fn from(x: FunctionArgStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<FunctionArgStructField, Unvalidated>>> for StructType<Unvalidated>
impl From<Handle<Struct<FunctionArgStructField, Unvalidated>>> for StructType<Unvalidated>
source§fn from(x: FunctionArgStructHandle) -> Self
fn from(x: FunctionArgStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<FunctionReturnStructField, Unvalidated>>> for FunctionReturnStructField
impl From<Handle<Struct<FunctionReturnStructField, Unvalidated>>> for FunctionReturnStructField
source§fn from(x: FunctionReturnStructHandle) -> Self
fn from(x: FunctionReturnStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<FunctionReturnStructField, Unvalidated>>> for FunctionReturnValue
impl From<Handle<Struct<FunctionReturnStructField, Unvalidated>>> for FunctionReturnValue
source§fn from(x: FunctionReturnStructHandle) -> Self
fn from(x: FunctionReturnStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<FunctionReturnStructField, Unvalidated>>> for IteratorItemType
impl From<Handle<Struct<FunctionReturnStructField, Unvalidated>>> for IteratorItemType
source§fn from(x: FunctionReturnStructHandle) -> Self
fn from(x: FunctionReturnStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<FunctionReturnStructField, Unvalidated>>> for StructType<Unvalidated>
impl From<Handle<Struct<FunctionReturnStructField, Unvalidated>>> for StructType<Unvalidated>
source§fn from(x: FunctionReturnStructHandle) -> Self
fn from(x: FunctionReturnStructHandle) -> Self
Converts to this type from the input type.
source§impl<T> From<Handle<Struct<T, Unvalidated>>> for UniversalOr<T>where
T: StructFieldType,
impl<T> From<Handle<Struct<T, Unvalidated>>> for UniversalOr<T>where
T: StructFieldType,
source§impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for CallbackArgument
impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for CallbackArgument
source§fn from(x: UniversalStructHandle) -> Self
fn from(x: UniversalStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for CallbackReturnValue
impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for CallbackReturnValue
source§fn from(x: UniversalStructHandle) -> Self
fn from(x: UniversalStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for FunctionArgStructField
impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for FunctionArgStructField
source§fn from(x: UniversalStructHandle) -> Self
fn from(x: UniversalStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for FunctionArgument
impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for FunctionArgument
source§fn from(x: UniversalStructHandle) -> Self
fn from(x: UniversalStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for FunctionReturnValue
impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for FunctionReturnValue
source§fn from(x: UniversalStructHandle) -> Self
fn from(x: UniversalStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for IteratorItemType
impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for IteratorItemType
source§fn from(x: UniversalStructHandle) -> Self
fn from(x: UniversalStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for StructType<Unvalidated>
impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for StructType<Unvalidated>
source§fn from(x: UniversalStructHandle) -> Self
fn from(x: UniversalStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for UniversalStructField
impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for UniversalStructField
source§fn from(x: UniversalStructHandle) -> Self
fn from(x: UniversalStructHandle) -> Self
Converts to this type from the input type.
source§impl<F> InitializerValidator for Handle<Struct<F, Unvalidated>>where
F: StructFieldType,
impl<F> InitializerValidator for Handle<Struct<F, Unvalidated>>where
F: StructFieldType,
source§fn validate_default_value(
&self,
value: &InitializerDefault
) -> BindResult<ValidatedDefaultValue>
fn validate_default_value( &self, value: &InitializerDefault ) -> BindResult<ValidatedDefaultValue>
Check that the value is valid for the type
fn bad_initializer_value( field_type: String, value: &InitializerDefault ) -> BindResult<ValidatedDefaultValue>
source§impl<T> PartialEq for Handle<T>
impl<T> PartialEq for Handle<T>
impl<T> Eq for Handle<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Handle<T>where
T: RefUnwindSafe,
impl<T> !Send for Handle<T>
impl<T> !Sync for Handle<T>
impl<T> Unpin for Handle<T>
impl<T> UnwindSafe for Handle<T>where
T: RefUnwindSafe,
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