pub enum ComponentExternName<'a> {
Kebab(&'a str),
Interface(&'a str),
}
Expand description
Represents the name of a component import.
Variants§
Implementations§
Trait Implementations§
source§impl<'a> Clone for ComponentExternName<'a>
impl<'a> Clone for ComponentExternName<'a>
source§fn clone(&self) -> ComponentExternName<'a>
fn clone(&self) -> ComponentExternName<'a>
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<'a> Debug for ComponentExternName<'a>
impl<'a> Debug for ComponentExternName<'a>
source§impl<'a> FromReader<'a> for ComponentExternName<'a>
impl<'a> FromReader<'a> for ComponentExternName<'a>
source§fn from_reader(
reader: &mut BinaryReader<'a>
) -> Result<ComponentExternName<'a>, BinaryReaderError>
fn from_reader( reader: &mut BinaryReader<'a> ) -> Result<ComponentExternName<'a>, BinaryReaderError>
Attempts to read
Self
from the provided binary reader, returning an
error if it is unable to do so.impl<'a> Copy for ComponentExternName<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ComponentExternName<'a>
impl<'a> Send for ComponentExternName<'a>
impl<'a> Sync for ComponentExternName<'a>
impl<'a> Unpin for ComponentExternName<'a>
impl<'a> UnwindSafe for ComponentExternName<'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