#[repr(C)]pub struct CallableType<'input> {
pub kind: CallableTypeKind,
pub keyword: Keyword<'input>,
pub specification: Option<CallableTypeSpecification<'input>>,
}Fields§
§kind: CallableTypeKind§keyword: Keyword<'input>§specification: Option<CallableTypeSpecification<'input>>Trait Implementations§
Source§impl<'input> Clone for CallableType<'input>
impl<'input> Clone for CallableType<'input>
Source§fn clone(&self) -> CallableType<'input>
fn clone(&self) -> CallableType<'input>
Returns a copy 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<'input> Debug for CallableType<'input>
impl<'input> Debug for CallableType<'input>
Source§impl HasSpan for CallableType<'_>
impl HasSpan for CallableType<'_>
Source§impl<'input> Hash for CallableType<'input>
impl<'input> Hash for CallableType<'input>
Source§impl<'input> Ord for CallableType<'input>
impl<'input> Ord for CallableType<'input>
Source§fn cmp(&self, other: &CallableType<'input>) -> Ordering
fn cmp(&self, other: &CallableType<'input>) -> Ordering
1.21.0 · 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<'input> PartialEq for CallableType<'input>
impl<'input> PartialEq for CallableType<'input>
Source§impl<'input> PartialOrd for CallableType<'input>
impl<'input> PartialOrd for CallableType<'input>
Source§impl<'input> Serialize for CallableType<'input>
impl<'input> Serialize for CallableType<'input>
impl<'input> Eq for CallableType<'input>
impl<'input> StructuralPartialEq for CallableType<'input>
Auto Trait Implementations§
impl<'input> Freeze for CallableType<'input>
impl<'input> RefUnwindSafe for CallableType<'input>
impl<'input> Send for CallableType<'input>
impl<'input> Sync for CallableType<'input>
impl<'input> Unpin for CallableType<'input>
impl<'input> UnwindSafe for CallableType<'input>
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