Struct ExTranslate
pub struct ExTranslate<'a> { /* private fields */ }
Expand description
Default-param extender for TranslationServer::translate_ex
.
Implementations§
§impl<'a> ExTranslate<'a>
impl<'a> ExTranslate<'a>
pub fn context(self, context: impl AsArg<StringName> + 'a) -> ExTranslate<'a>
pub fn done(self) -> StringName
Auto Trait Implementations§
impl<'a> Freeze for ExTranslate<'a>
impl<'a> RefUnwindSafe for ExTranslate<'a>
impl<'a> !Send for ExTranslate<'a>
impl<'a> !Sync for ExTranslate<'a>
impl<'a> Unpin for ExTranslate<'a>
impl<'a> UnwindSafe for ExTranslate<'a>
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