RangeSyntax in rustc_ast::ast - Rust (original) (raw)
pub enum RangeSyntax {
DotDotDot,
DotDotEq,
}
Variants§
DotDotDot
...
DotDotEq
..=
Trait Implementations§
impl Clone for RangeSyntax
impl Debug for RangeSyntax
impl<__D: SpanDecoder> Decodable<__D> for RangeSyntax
fn decode(__decoder: &mut __D) -> Self
impl<__E: SpanEncoder> Encodable<__E> for RangeSyntax
fn encode(&self, __encoder: &mut __E)
impl<V: MutVisitor> MutVisitable for RangeSyntax
type Extra = ()
fn visit_mut(&mut self, visitor: &mut V, _extra: Self::Extra) -> V::Result
impl<__V> MutWalkable<__V> for RangeSyntax
fn walk_mut(&mut self, __visitor: &mut __V)
impl<'a, V: Visitor<'a>> Visitable<'a, V> for RangeSyntax
type Extra = ()
fn visit(&'a self, visitor: &mut V, _extra: Self::Extra) -> V::Result
impl<'__ast, __V> Walkable<'__ast, __V> for RangeSyntax
fn walk_ref(&'__ast self, __visitor: &mut __V) -> __V::Result
Auto Trait Implementations§
impl DynSend for RangeSyntax
impl DynSync for RangeSyntax
impl Freeze for RangeSyntax
impl RefUnwindSafe for RangeSyntax
impl Send for RangeSyntax
impl Sync for RangeSyntax
impl Unpin for RangeSyntax
impl UnwindSafe for RangeSyntax
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:
DotDotDot
: 0 bytesDotDotEq
: 0 bytes