Enum ByVariant
pub enum ByVariant {}Expand description
Pass Variant arguments to Godot by reference.
This is semantically identical to ByRef, but exists as a separate type so that Variant has its own Pass type.
This decoupling enables blanket AsVArg impls for all ByRef types without coherence conflicts at T = Variant.
See ToGodot::Pass.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ByVariant
impl RefUnwindSafe for ByVariant
impl Send for ByVariant
impl Sync for ByVariant
impl Unpin for ByVariant
impl UnwindSafe for ByVariant
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