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