Enum syn::RangeLimits
[−]
[src]
pub enum RangeLimits {
HalfOpen,
Closed,
}Limit types of a range (inclusive or exclusive)
Variants
HalfOpenInclusive at the beginning, exclusive at the end
ClosedInclusive at the beginning and end
Trait Implementations
impl Debug for RangeLimits[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Copy for RangeLimits[src]
impl Clone for RangeLimits[src]
fn clone(&self) -> RangeLimits[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for RangeLimits[src]
impl PartialEq for RangeLimits[src]
fn eq(&self, __arg_0: &RangeLimits) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.