RangeLimits in rustc_ast::ast - Rust (original) (raw)
pub enum RangeLimits {
HalfOpen,
Closed,
}
Expand description
Limit types of a range (inclusive or exclusive).
Inclusive at the beginning, exclusive at the end.
Inclusive at the beginning and end.
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:
HalfOpen
: 0 bytesClosed
: 0 bytes