[−][src]Struct rustc_mir::dataflow::move_paths::Init

pub struct Init {
    pub path: MovePathIndex,
    pub location: InitLocation,
    pub kind: InitKind,
}

Init represents a point in a program that initializes some L-value;

Fields

path: MovePathIndex

path being initialized

location: InitLocation

location of initialization

kind: InitKind

Extra information about this initialization

Implementations

impl Init[src]

pub(crate) fn span<'tcx>(&self, body: &Body<'tcx>) -> Span[src]

Trait Implementations

impl Clone for Init[src]

impl Copy for Init[src]

impl Debug for Init[src]

Auto Trait Implementations

impl RefUnwindSafe for Init

impl Send for Init

impl Sync for Init

impl Unpin for Init

impl UnwindSafe for Init

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]