Trait gdnative::object::AsVariant[][src]

pub trait AsVariant: AsArg<Self::Target> {
    type Target;
}

Trait for safe conversion from Godot object references into Variant. This is a sealed trait with no public interface.

Used for Variant methods and implementations as a trait bound to improve type inference.

Associated Types

Loading content...

Implementors

impl<'a, T> AsVariant for &'a Ref<T, Shared> where
    T: GodotObject
[src]

type Target = T

impl<'a, T> AsVariant for Null<T> where
    T: GodotObject
[src]

type Target = T

impl<'a, T> AsVariant for TRef<'a, T, Shared> where
    T: GodotObject
[src]

type Target = T

impl<T> AsVariant for Ref<T, Shared> where
    T: GodotObject
[src]

type Target = T

impl<T> AsVariant for Ref<T, Unique> where
    T: GodotObject
[src]

type Target = T

Loading content...