pub struct Place {
pub kind: PlaceKind,
pub ty: Ty,
pub is_const: bool,
pub range: SourceRange,
}Expand description
An assignable location.
Fields§
§kind: PlaceKindWhat is being addressed.
ty: TyThe type of the object addressed.
is_const: boolWhether the object is const-qualified, and therefore not assignable.
range: SourceRangeWhere it was written.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Place
impl RefUnwindSafe for Place
impl Send for Place
impl Sync for Place
impl Unpin for Place
impl UnsafeUnpin for Place
impl UnwindSafe for Place
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more