pub struct OwnedObject {
pub name: String,
pub store: StoreKind,
pub creator: Box<OwnedCreator>,
}Expand description
An object that a consumer crate owns and can create in standalone mode.
Fields§
§name: StringHuman-readable name, such as gcode_symbols table.
store: StoreKindStore kind that owns the object.
creator: Box<OwnedCreator>Consumer-supplied creation function.
Auto Trait Implementations§
impl !RefUnwindSafe for OwnedObject
impl !Send for OwnedObject
impl !Sync for OwnedObject
impl !UnwindSafe for OwnedObject
impl Freeze for OwnedObject
impl Unpin for OwnedObject
impl UnsafeUnpin for OwnedObject
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