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>
impl<T> Eq for Handle<T>
Auto Trait Implementations§
impl<T> Freeze for Handle<T>
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