pub struct EvalPrivate {
pub name: String,
pub kind: EvalPrivateKind,
pub setter: Option<String>,
}Expand description
One private name an eval at a given site can see.
The same three facts the compiler needs to compile a use of it: what kind of thing the binding holds, and — for an accessor — the companion setter binding.
Fields§
§name: StringThe binding name, #x.
kind: EvalPrivateKindWhat the binding holds.
setter: Option<String>#x<set>, when the class defines a setter for this name.
Trait Implementations§
Source§impl Clone for EvalPrivate
impl Clone for EvalPrivate
Source§impl Debug for EvalPrivate
impl Debug for EvalPrivate
Source§impl PartialEq for EvalPrivate
impl PartialEq for EvalPrivate
impl StructuralPartialEq for EvalPrivate
Auto Trait Implementations§
impl Forget for EvalPrivate
impl Freeze for EvalPrivate
impl Move for EvalPrivate
impl RefUnwindSafe for EvalPrivate
impl Send for EvalPrivatewhere
RawVecInner: Send,
impl Sync for EvalPrivatewhere
RawVecInner: Sync,
impl Unpin for EvalPrivate
impl UnsafeUnpin for EvalPrivate
impl UnwindSafe for EvalPrivatewhere
RawVecInner: UnwindSafe,
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