pub enum HookArg {
Int(i32),
String(String),
}Expand description
A value a component’s hook hands its script.
Variants§
Trait Implementations§
impl Eq for HookArg
impl StructuralPartialEq for HookArg
Auto Trait Implementations§
impl Forget for HookArg
impl Freeze for HookArg
impl Move for HookArg
impl RefUnwindSafe for HookArg
impl Send for HookArg
impl Sync for HookArg
impl Unpin for HookArg
impl UnsafeUnpin for HookArg
impl UnwindSafe for HookArg
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