pub struct ModePreset { /* private fields */ }Expand description
Semantic mode preset installed on a LashCore.
Implementations§
Source§impl ModePreset
impl ModePreset
pub fn standard() -> Self
pub fn rlm() -> Self
pub fn rlm_with_config(config: RlmProtocolPluginConfig) -> Self
pub fn rlm_with_projection_resolver( projection_resolver: Arc<dyn ProjectionResolver>, ) -> Self
pub fn rlm_with_config_and_projection_resolver( config: RlmProtocolPluginConfig, projection_resolver: Arc<dyn ProjectionResolver>, ) -> Self
pub fn mode_id(&self) -> &ModeId
Trait Implementations§
Source§impl Clone for ModePreset
impl Clone for ModePreset
Source§fn clone(&self) -> ModePreset
fn clone(&self) -> ModePreset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ModePreset
impl !UnwindSafe for ModePreset
impl Freeze for ModePreset
impl Send for ModePreset
impl Sync for ModePreset
impl Unpin for ModePreset
impl UnsafeUnpin for ModePreset
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