pub struct CallableTypeSpecification<'input> {
pub parameters: CallableTypeParameters<'input>,
pub return_type: Option<CallableTypeReturnType<'input>>,
}Fields§
§parameters: CallableTypeParameters<'input>§return_type: Option<CallableTypeReturnType<'input>>Trait Implementations§
Source§impl<'input> Clone for CallableTypeSpecification<'input>
impl<'input> Clone for CallableTypeSpecification<'input>
Source§fn clone(&self) -> CallableTypeSpecification<'input>
fn clone(&self) -> CallableTypeSpecification<'input>
Returns a duplicate of the value. Read more
1.0.0§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 CallableTypeSpecification<'input>
impl<'input> Debug for CallableTypeSpecification<'input>
Source§impl Display for CallableTypeSpecification<'_>
impl Display for CallableTypeSpecification<'_>
Source§impl HasSpan for CallableTypeSpecification<'_>
impl HasSpan for CallableTypeSpecification<'_>
Source§fn start_position(&self) -> Position
fn start_position(&self) -> Position
A convenience method to get the starting position of the span.
Source§fn start_offset(&self) -> u32
fn start_offset(&self) -> u32
A convenience method to get the starting byte offset of the span.
Source§fn end_position(&self) -> Position
fn end_position(&self) -> Position
A convenience method to get the ending position of the span.
Source§fn end_offset(&self) -> u32
fn end_offset(&self) -> u32
A convenience method to get the ending byte offset of the span.
Source§impl<'input> Hash for CallableTypeSpecification<'input>
impl<'input> Hash for CallableTypeSpecification<'input>
Source§impl<'input> Ord for CallableTypeSpecification<'input>
impl<'input> Ord for CallableTypeSpecification<'input>
Source§fn cmp(&self, other: &CallableTypeSpecification<'input>) -> Ordering
fn cmp(&self, other: &CallableTypeSpecification<'input>) -> Ordering
1.21.0§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 CallableTypeSpecification<'input>
impl<'input> PartialEq for CallableTypeSpecification<'input>
Source§impl<'input> PartialOrd for CallableTypeSpecification<'input>
impl<'input> PartialOrd for CallableTypeSpecification<'input>
Source§impl<'input> Serialize for CallableTypeSpecification<'input>
impl<'input> Serialize for CallableTypeSpecification<'input>
impl<'input> Eq for CallableTypeSpecification<'input>
impl<'input> StructuralPartialEq for CallableTypeSpecification<'input>
Auto Trait Implementations§
impl<'input> Freeze for CallableTypeSpecification<'input>
impl<'input> RefUnwindSafe for CallableTypeSpecification<'input>
impl<'input> Send for CallableTypeSpecification<'input>
impl<'input> Sync for CallableTypeSpecification<'input>
impl<'input> Unpin for CallableTypeSpecification<'input>
impl<'input> UnwindSafe for CallableTypeSpecification<'input>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> HasPosition for Twhere
T: HasSpan,
impl<T> HasPosition for Twhere
T: HasSpan,
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