pub struct Slot {
pub name: String,
pub number: u8,
pub default: Arc<Module>,
pub allowed_modules: Vec<Arc<Module>>,
}
Fields§
§name: String
§number: u8
§default: Arc<Module>
§allowed_modules: Vec<Arc<Module>>
Trait Implementations§
impl Eq for Slot
impl StructuralPartialEq for Slot
Auto Trait Implementations§
impl Freeze for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnwindSafe for Slot
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