pub enum ByObject {}Expand description
Pass arguments to Godot by object pointer (for objects only).
Currently distinct from ByRef to not interfere with the blanket impl for &T for all ByRef types. Semantics are largely the same.
See ToGodot::Pass.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ByObject
impl RefUnwindSafe for ByObject
impl Send for ByObject
impl Sync for ByObject
impl Unpin for ByObject
impl UnwindSafe for ByObject
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