Struct golem_wasm_ast::wave::DisplayNamedFunc
source · pub struct DisplayNamedFunc<T: WasmFunc> {
pub name: String,
pub func: T,
}
Expand description
Copy of DisplayFunc with additional name filed. DisplayFunc is always using func for name
Fields§
§name: String
§func: T
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for DisplayNamedFunc<T>where
T: Freeze,
impl<T> RefUnwindSafe for DisplayNamedFunc<T>where
T: RefUnwindSafe,
impl<T> Send for DisplayNamedFunc<T>where
T: Send,
impl<T> Sync for DisplayNamedFunc<T>where
T: Sync,
impl<T> Unpin for DisplayNamedFunc<T>where
T: Unpin,
impl<T> UnwindSafe for DisplayNamedFunc<T>where
T: UnwindSafe,
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