Expand description
A custom section within a component.
Fields
span: Span
Where this @custom
was defined.
name: &'a str
Name of the custom section.
data: Vec<&'a [u8]>
Payload of this custom section.
Trait Implementations
sourceimpl ComponentSection for Custom<'_>
impl ComponentSection for Custom<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Custom<'a>
impl<'a> Send for Custom<'a>
impl<'a> Sync for Custom<'a>
impl<'a> Unpin for Custom<'a>
impl<'a> UnwindSafe for Custom<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more