pub enum CallForm {
Direct,
FunRef,
Apply,
Indirect(IndirectCallForm),
}Expand description
How a call site spells the call. It is on the site, so one function called two ways is one reference.
Variants§
Trait Implementations§
impl Copy for CallForm
impl Eq for CallForm
Source§impl Ord for CallForm
impl Ord for CallForm
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CallForm
impl PartialOrd for CallForm
impl StructuralPartialEq for CallForm
Auto Trait Implementations§
impl Forget for CallForm
impl Freeze for CallForm
impl Move for CallForm
impl RefUnwindSafe for CallForm
impl Send for CallForm
impl Sync for CallForm
impl Unpin for CallForm
impl UnsafeUnpin for CallForm
impl UnwindSafe for CallForm
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