pub struct EmitOutput {
pub text: String,
pub fallback_ids: Vec<String>,
}Expand description
The result of a localized emission.
Fields§
§text: StringThe emitted localized Workshop text.
fallback_ids: Vec<String>Canonical identities (and the settings marker) whose spelling came
from the opt-in fallback locale instead of the target locale. Empty
when no fallback occurred.
Trait Implementations§
Source§impl Clone for EmitOutput
impl Clone for EmitOutput
Source§fn clone(&self) -> EmitOutput
fn clone(&self) -> EmitOutput
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 moreSource§impl Debug for EmitOutput
impl Debug for EmitOutput
impl Eq for EmitOutput
Source§impl PartialEq for EmitOutput
impl PartialEq for EmitOutput
impl StructuralPartialEq for EmitOutput
Auto Trait Implementations§
impl Freeze for EmitOutput
impl RefUnwindSafe for EmitOutput
impl Send for EmitOutput
impl Sync for EmitOutput
impl Unpin for EmitOutput
impl UnsafeUnpin for EmitOutput
impl UnwindSafe for EmitOutput
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