pub struct IdentifyInput {
pub path: String,
}Expand description
Wire-format input to a WASM importer’s identify entry point.
The WASM importer answers “do I handle this file?” based on the
path (typically extension) alone — extract is the path that
gets file content.
Fields§
§path: StringSource file path. Informational only, same as
ImporterInput::path.
Trait Implementations§
Source§impl Clone for IdentifyInput
impl Clone for IdentifyInput
Source§fn clone(&self) -> IdentifyInput
fn clone(&self) -> IdentifyInput
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 IdentifyInput
impl Debug for IdentifyInput
Source§impl<'de> Deserialize<'de> for IdentifyInput
impl<'de> Deserialize<'de> for IdentifyInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IdentifyInput
impl RefUnwindSafe for IdentifyInput
impl Send for IdentifyInput
impl Sync for IdentifyInput
impl Unpin for IdentifyInput
impl UnsafeUnpin for IdentifyInput
impl UnwindSafe for IdentifyInput
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