pub struct InferTypeItem {
pub span: Span,
}Fields§
§span: SpanTrait Implementations§
Source§impl AstNode for InferTypeItem
impl AstNode for InferTypeItem
Source§impl Clone for InferTypeItem
impl Clone for InferTypeItem
Source§fn clone(&self) -> InferTypeItem
fn clone(&self) -> InferTypeItem
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 InferTypeItem
impl Debug for InferTypeItem
Source§impl Default for InferTypeItem
impl Default for InferTypeItem
Source§fn default() -> InferTypeItem
fn default() -> InferTypeItem
Returns the “default value” for a type. Read more
Source§impl From<InferTypeItem> for TypeElement
impl From<InferTypeItem> for TypeElement
Source§fn from(value: InferTypeItem) -> Self
fn from(value: InferTypeItem) -> Self
Converts to this type from the input type.
Source§impl Hash for InferTypeItem
impl Hash for InferTypeItem
Source§impl PartialEq for InferTypeItem
impl PartialEq for InferTypeItem
impl Eq for InferTypeItem
impl StructuralPartialEq for InferTypeItem
Auto Trait Implementations§
impl Freeze for InferTypeItem
impl RefUnwindSafe for InferTypeItem
impl Send for InferTypeItem
impl Sync for InferTypeItem
impl Unpin for InferTypeItem
impl UnwindSafe for InferTypeItem
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> 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