Enum syntax::ast::RangeEnd [−][src]
pub enum RangeEnd { Included(RangeSyntax), Excluded, }
Variants
Included(RangeSyntax)
Excluded
Trait Implementations
impl Clone for RangeEnd
[src]
impl Clone for RangeEnd
fn clone(&self) -> RangeEnd
[src]
fn clone(&self) -> RangeEnd
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for RangeEnd
[src]
impl PartialEq for RangeEnd
fn eq(&self, other: &RangeEnd) -> bool
[src]
fn eq(&self, other: &RangeEnd) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &RangeEnd) -> bool
[src]
fn ne(&self, other: &RangeEnd) -> bool
This method tests for !=
.
impl Eq for RangeEnd
[src]
impl Eq for RangeEnd
impl Encodable for RangeEnd
[src]
impl Encodable for RangeEnd
impl Decodable for RangeEnd
[src]
impl Decodable for RangeEnd
impl Hash for RangeEnd
[src]
impl Hash for RangeEnd
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for RangeEnd
[src]
impl Debug for RangeEnd