Enum rustc::ty::FragmentInfo
[−]
[src]
pub enum FragmentInfo { Moved { var: NodeId, move_expr: NodeId, }, Assigned { var: NodeId, assign_expr: NodeId, assignee_id: NodeId, }, }
Unstable (
rustc_private
)Describes the fragment-state associated with a NodeId.
Currently only unfragmented paths have entries in the table, but longer-term this enum is expected to expand to also include data for fragmented paths.
Variants
Moved
Unstable (
rustc_private
)Fields
var: NodeId | Unstable ( rustc_private ) |
move_expr: NodeId | Unstable ( rustc_private ) |
Assigned
Unstable (
rustc_private
)Fields
var: NodeId | Unstable ( rustc_private ) |
assign_expr: NodeId | Unstable ( rustc_private ) |
assignee_id: NodeId | Unstable ( rustc_private ) |
Trait Implementations
Derived Implementations
impl Debug for FragmentInfo
[src]
impl Clone for FragmentInfo
[src]
fn clone(&self) -> FragmentInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more