pub struct SpecialArgs {
pub self_: Option<ErasedEntityHandle>,
pub other: Option<ErasedEntityHandle>,
}Expand description
Special arguments for certain functions
TODO: Make this generic instead of just “self” and “other” - some qcdefs may use different “special params”
Fields§
§self_: Option<ErasedEntityHandle>self type used for e.g. think and touch functions
other: Option<ErasedEntityHandle>other type used for touch functions
Trait Implementations§
Source§impl Clone for SpecialArgs
impl Clone for SpecialArgs
Source§fn clone(&self) -> SpecialArgs
fn clone(&self) -> SpecialArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpecialArgs
impl Debug for SpecialArgs
Source§impl Default for SpecialArgs
impl Default for SpecialArgs
Source§fn default() -> SpecialArgs
fn default() -> SpecialArgs
Returns the “default value” for a type. Read more
impl Copy for SpecialArgs
Auto Trait Implementations§
impl Freeze for SpecialArgs
impl RefUnwindSafe for SpecialArgs
impl Send for SpecialArgs
impl Sync for SpecialArgs
impl Unpin for SpecialArgs
impl UnsafeUnpin for SpecialArgs
impl UnwindSafe for SpecialArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more