Inline in rustc_ast::ast - Rust (original) (raw)
pub enum Inline {
Yes,
No {
had_parse_error: Result<(), ErrorGuaranteed>,
},
}Variants§
Trait Implementations§
impl Clone for Inline
impl Debug for Inline
impl<__D: SpanDecoder> Decodable<__D> for Inline
fn decode(__decoder: &mut __D) -> Self
impl<__E: SpanEncoder> Encodable<__E> for Inline
fn encode(&self, __encoder: &mut __E)
impl<V: MutVisitor> MutVisitable for Inline
type Extra = ()
fn visit_mut(&mut self, visitor: &mut V, _extra: Self::Extra) -> V::Result
impl<__V> MutWalkable<__V> for Inline
fn walk_mut(&mut self, __visitor: &mut __V)
impl PartialEq for Inline
fn eq(&self, other: &Inline) -> bool
Tests for self and other values to be equal, and is used by ==.
fn ne(&self, other: &Rhs) -> bool
Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
impl<'a, V: Visitor<'a>> Visitable<'a, V> for Inline
type Extra = ()
fn visit(&'a self, visitor: &mut V, _extra: Self::Extra) -> V::Result
impl<'__ast, __V> Walkable<'__ast, __V> for Inline
fn walk_ref(&'__ast self, __visitor: &mut __V) -> __V::Result
impl Copy for Inline
impl StructuralPartialEq for Inline
Auto Trait Implementations§
impl DynSend for Inline
impl DynSync for Inline
impl Freeze for Inline
impl RefUnwindSafe for Inline
impl Send for Inline
impl Sync for Inline
impl Unpin for Inline
impl UnwindSafe for Inline
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: 1 byte
Size for each variant:
Yes: 0 bytesNo: 1 byte