pub struct ModeTurnExtensionHandle(/* private fields */);Implementations§
Source§impl ModeTurnExtensionHandle
impl ModeTurnExtensionHandle
pub fn new(extension: impl ModeTurnExtension + 'static) -> Self
pub fn as_any(&self) -> &dyn Any
pub fn prompt_contributions(&self) -> Vec<PromptContribution>
Trait Implementations§
Source§impl Clone for ModeTurnExtensionHandle
impl Clone for ModeTurnExtensionHandle
Source§fn clone(&self) -> ModeTurnExtensionHandle
fn clone(&self) -> ModeTurnExtensionHandle
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 Freeze for ModeTurnExtensionHandle
impl !RefUnwindSafe for ModeTurnExtensionHandle
impl Send for ModeTurnExtensionHandle
impl Sync for ModeTurnExtensionHandle
impl Unpin for ModeTurnExtensionHandle
impl UnsafeUnpin for ModeTurnExtensionHandle
impl !UnwindSafe for ModeTurnExtensionHandle
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