pub struct TupleTypeDecl {
pub visibility: Visibility,
pub ident: TypeIdent,
pub members: Vec<TupleTypeMember>,
pub span: Span,
}Fields§
§visibility: Visibility§ident: TypeIdent§members: Vec<TupleTypeMember>§span: SpanTrait Implementations§
Source§impl AstNode for TupleTypeDecl
impl AstNode for TupleTypeDecl
Source§impl Debug for TupleTypeDecl
impl Debug for TupleTypeDecl
Source§impl From<TupleTypeDecl> for TypeDecl
impl From<TupleTypeDecl> for TypeDecl
Source§fn from(original: TupleTypeDecl) -> TypeDecl
fn from(original: TupleTypeDecl) -> TypeDecl
Converts to this type from the input type.
Source§impl PartialEq for TupleTypeDecl
impl PartialEq for TupleTypeDecl
impl Eq for TupleTypeDecl
impl StructuralPartialEq for TupleTypeDecl
Auto Trait Implementations§
impl Freeze for TupleTypeDecl
impl RefUnwindSafe for TupleTypeDecl
impl Send for TupleTypeDecl
impl Sync for TupleTypeDecl
impl Unpin for TupleTypeDecl
impl UnwindSafe for TupleTypeDecl
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> 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