pub struct Addable {
pub class: &'static ClassDef,
pub key: &'static str,
}Expand description
A class that can be added in an object, and the field naming it there.
Fields§
§class: &'static ClassDef§key: &'static strAuto Trait Implementations§
impl Forget for Addable
impl Freeze for Addable
impl Move for Addable
impl RefUnwindSafe for Addable
impl Send for Addable
impl Sync for Addable
impl Unpin for Addable
impl UnsafeUnpin for Addable
impl UnwindSafe for Addable
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