pub enum PrivateKind {
Field,
StaticField,
Method(Value),
StaticMethod(Value),
Accessor {
get: Option<Value>,
set: Option<Value>,
},
StaticAccessor {
get: Option<Value>,
set: Option<Value>,
},
}Expand description
クラスプライベート要素の種別(インスタンス/静的のフィールド・メソッド・アクセサ)。
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PrivateKind
impl !Send for PrivateKind
impl !Sync for PrivateKind
impl !UnwindSafe for PrivateKind
impl Freeze for PrivateKind
impl Unpin for PrivateKind
impl UnsafeUnpin for PrivateKind
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