Struct wasmbin::sections::ImportPath
source · pub struct ImportPath {
pub module: String,
pub name: String,
}
Expand description
Import path.
Fields§
§module: String
§name: String
Trait Implementations§
source§impl Clone for ImportPath
impl Clone for ImportPath
source§fn clone(&self) -> ImportPath
fn clone(&self) -> ImportPath
Returns a copy of the value. Read more
1.0.0 · 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 ImportPath
impl Debug for ImportPath
source§impl Decode for ImportPath
impl Decode for ImportPath
source§impl Encode for ImportPath
impl Encode for ImportPath
source§impl Hash for ImportPath
impl Hash for ImportPath
source§impl PartialEq for ImportPath
impl PartialEq for ImportPath
source§fn eq(&self, other: &ImportPath) -> bool
fn eq(&self, other: &ImportPath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Visit for ImportPathwhere
Self: 'static,
impl Visit for ImportPathwhere
Self: 'static,
source§fn visit_children<'a, VisitT: 'static, VisitE, VisitF: FnMut(&'a VisitT) -> Result<(), VisitE>>(
&'a self,
f: &mut VisitF
) -> Result<(), VisitError<VisitE>>
fn visit_children<'a, VisitT: 'static, VisitE, VisitF: FnMut(&'a VisitT) -> Result<(), VisitE>>( &'a self, f: &mut VisitF ) -> Result<(), VisitError<VisitE>>
Traverse the children of this value with the provided callback.
source§fn visit_children_mut<VisitT: 'static, VisitE, VisitF: FnMut(&mut VisitT) -> Result<(), VisitE>>(
&mut self,
f: &mut VisitF
) -> Result<(), VisitError<VisitE>>
fn visit_children_mut<VisitT: 'static, VisitE, VisitF: FnMut(&mut VisitT) -> Result<(), VisitE>>( &mut self, f: &mut VisitF ) -> Result<(), VisitError<VisitE>>
Traverse the children of this value mutably with the provided callback.
source§fn visit<'a, T: 'static, R: VisitResult, F: FnMut(&'a T) -> R>(
&'a self,
f: F
) -> Result<(), VisitError<R::Error>>
fn visit<'a, T: 'static, R: VisitResult, F: FnMut(&'a T) -> R>( &'a self, f: F ) -> Result<(), VisitError<R::Error>>
Traverse this value with the provided callback.
source§fn visit_mut<T: 'static, R: VisitResult, F: FnMut(&mut T) -> R>(
&mut self,
f: F
) -> Result<(), VisitError<R::Error>>
fn visit_mut<T: 'static, R: VisitResult, F: FnMut(&mut T) -> R>( &mut self, f: F ) -> Result<(), VisitError<R::Error>>
Traverse this value mutably with the provided callback.
impl Eq for ImportPath
impl StructuralEq for ImportPath
impl StructuralPartialEq for ImportPath
Auto Trait Implementations§
impl RefUnwindSafe for ImportPath
impl Send for ImportPath
impl Sync for ImportPath
impl Unpin for ImportPath
impl UnwindSafe for ImportPath
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