pub enum RangeEnd {
Included,
Excluded,
}
Variants§
Trait Implementations§
source§impl<__CTX> HashStable<__CTX> for RangeEndwhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for RangeEndwhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
impl Copy for RangeEnd
impl StructuralPartialEq for RangeEnd
Auto Trait Implementations§
impl RefUnwindSafe for RangeEnd
impl Send for RangeEnd
impl Sync for RangeEnd
impl Unpin for RangeEnd
impl UnwindSafe for RangeEnd
Blanket Implementations§
source§impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for Twhere
T: Copy,
impl<'tcx, T> ArenaAllocatable<'tcx, IsCopy> for Twhere
T: Copy,
fn allocate_on<'a>(self, arena: &'a Arena<'tcx>) -> &'a mut T
fn allocate_from_iter<'a>(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = T>
) -> &'a mut [T] ⓘ
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:
Included
: 0 bytesExcluded
: 0 bytes