pub struct ModeRegistration {
pub mode_name: String,
pub factory: Arc<dyn ModeFactory>,
pub descriptor_provider: Arc<dyn ModeDescriptorProvider>,
pub schema_provider: Arc<dyn ModeSchemaProvider>,
pub conformance_provider: Arc<dyn ModeConformanceProvider>,
pub standards_track: bool,
pub builtin: bool,
pub strict_session_start: bool,
}Fields§
§mode_name: String§factory: Arc<dyn ModeFactory>§descriptor_provider: Arc<dyn ModeDescriptorProvider>§schema_provider: Arc<dyn ModeSchemaProvider>§conformance_provider: Arc<dyn ModeConformanceProvider>§standards_track: bool§builtin: bool§strict_session_start: boolImplementations§
Source§impl ModeRegistration
impl ModeRegistration
pub fn descriptor(&self) -> Option<ModeDescriptor>
pub fn conformance_catalog(&self) -> ModeConformanceCatalog
Auto Trait Implementations§
impl !RefUnwindSafe for ModeRegistration
impl !UnwindSafe for ModeRegistration
impl Freeze for ModeRegistration
impl Send for ModeRegistration
impl Sync for ModeRegistration
impl Unpin for ModeRegistration
impl UnsafeUnpin for ModeRegistration
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