MutTy in rustc_ast::ast - Rust (original) (raw)
pub struct MutTy {
pub ty: P<Ty>,
pub mutbl: Mutability,
}
Fields§
§ty: [P](../ptr/struct.P.html "struct rustc_ast::ptr::P")<[Ty](struct.Ty.html "struct rustc_ast::ast::Ty")>
§mutbl: [Mutability](enum.Mutability.html "enum rustc_ast::ast::Mutability")
Trait Implementations§
Auto Trait Implementations§
impl DynSend for MutTy
impl DynSync for MutTy
impl Freeze for MutTy
impl RefUnwindSafe for MutTy
impl Send for MutTy
impl Sync for MutTy
impl Unpin for MutTy
impl UnwindSafe for MutTy
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes