pub enum SwiftFunctionRepresentation {
Thin,
Thick,
Method,
WitnessMethod,
CFunction,
Block,
}Expand description
Swift function representation.
Variants§
Thin
Thin.
Thick
Thick Swift function.
Method
Method.
WitnessMethod
Witness method.
CFunction
C function.
Block
Objective-C block.
Trait Implementations§
Source§impl Clone for SwiftFunctionRepresentation
impl Clone for SwiftFunctionRepresentation
Source§fn clone(&self) -> SwiftFunctionRepresentation
fn clone(&self) -> SwiftFunctionRepresentation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SwiftFunctionRepresentation
Source§impl Debug for SwiftFunctionRepresentation
impl Debug for SwiftFunctionRepresentation
impl Eq for SwiftFunctionRepresentation
Source§impl Hash for SwiftFunctionRepresentation
impl Hash for SwiftFunctionRepresentation
Source§impl Ord for SwiftFunctionRepresentation
impl Ord for SwiftFunctionRepresentation
Source§fn cmp(&self, other: &SwiftFunctionRepresentation) -> Ordering
fn cmp(&self, other: &SwiftFunctionRepresentation) -> Ordering
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
Source§impl PartialOrd for SwiftFunctionRepresentation
impl PartialOrd for SwiftFunctionRepresentation
impl StructuralPartialEq for SwiftFunctionRepresentation
Auto Trait Implementations§
impl Freeze for SwiftFunctionRepresentation
impl RefUnwindSafe for SwiftFunctionRepresentation
impl Send for SwiftFunctionRepresentation
impl Sync for SwiftFunctionRepresentation
impl Unpin for SwiftFunctionRepresentation
impl UnsafeUnpin for SwiftFunctionRepresentation
impl UnwindSafe for SwiftFunctionRepresentation
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