pub struct ComposeImporter { /* private fields */ }Expand description
Maps an explicitly processed Compose source into BoxFerry’s neutral model.
Implementations§
Source§impl ComposeImporter
impl ComposeImporter
Sourcepub fn new() -> Result<Self, InvalidDiagnosticCode>
pub fn new() -> Result<Self, InvalidDiagnosticCode>
Creates an importer and validates its stable machine-readable diagnostic codes.
§Errors
Returns InvalidDiagnosticCode only when a code embedded in this adapter is invalid.
Trait Implementations§
Source§impl Clone for ComposeImporter
impl Clone for ComposeImporter
Source§fn clone(&self) -> ComposeImporter
fn clone(&self) -> ComposeImporter
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 ComposeImporter
impl Debug for ComposeImporter
Source§impl ImportAdapter for ComposeImporter
impl ImportAdapter for ComposeImporter
Source§type Source = ComposeSource
type Source = ComposeSource
Native source model accepted by this adapter.
Source§fn import(&self, source: &Self::Source) -> ImportResult
fn import(&self, source: &Self::Source) -> ImportResult
Imports one source without reading ambient process state.
Auto Trait Implementations§
impl Freeze for ComposeImporter
impl RefUnwindSafe for ComposeImporter
impl Send for ComposeImporter
impl Sync for ComposeImporter
impl Unpin for ComposeImporter
impl UnsafeUnpin for ComposeImporter
impl UnwindSafe for ComposeImporter
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