[−][src]Struct rustc_mir::util::storage::AlwaysLiveLocals
The set of locals in a MIR body that do not have StorageLive/StorageDead annotations.
These locals have fixed storage for the duration of the body.
Implementations
impl AlwaysLiveLocals[src]
Methods from Deref<Target = BitSet<Local>>
pub fn domain_size(&self) -> usize[src]
Gets the domain size.
pub fn count(&self) -> usize[src]
Count the number of set bits in the set.
pub fn contains(&self, elem: T) -> bool[src]
Returns true if self contains elem.
pub fn superset(&self, other: &BitSet<T>) -> bool[src]
Is self is a (non-strict) superset of other?
pub fn is_empty(&self) -> bool[src]
Is the set empty?
pub fn words(&self) -> &[u64][src]
Gets a slice of the underlying words.
pub fn iter(&self) -> BitIter<'_, T>[src]
Iterates over the indices of set bits in a sorted order.
pub fn to_hybrid(&self) -> HybridBitSet<T>[src]
Duplicates the set as a hybrid set.
Trait Implementations
impl Clone for AlwaysLiveLocals[src]
fn clone(&self) -> AlwaysLiveLocals[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for AlwaysLiveLocals[src]
impl Deref for AlwaysLiveLocals[src]
Auto Trait Implementations
impl RefUnwindSafe for AlwaysLiveLocals
impl Send for AlwaysLiveLocals
impl Sync for AlwaysLiveLocals
impl Unpin for AlwaysLiveLocals
impl UnwindSafe for AlwaysLiveLocals
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.