pub struct Hasher { /* private fields */ }
Expand description
The default hasher used in Rune.
Implementations§
Trait Implementations§
source§impl InstallWith for Hasher
impl InstallWith for Hasher
source§fn install_with(module: &mut Module) -> Result<(), ContextError>
fn install_with(module: &mut Module) -> Result<(), ContextError>
Hook to install more things into the module.
source§impl MaybeTypeOf for Hasher
impl MaybeTypeOf for Hasher
source§fn maybe_type_of() -> Option<FullTypeOf>
fn maybe_type_of() -> Option<FullTypeOf>
Type information for the given type.
source§impl UnsafeToMut for Hasher
impl UnsafeToMut for Hasher
source§impl UnsafeToRef for Hasher
impl UnsafeToRef for Hasher
source§impl UnsafeToValue for &Hasher
impl UnsafeToValue for &Hasher
§type Guard = SharedPointerGuard
type Guard = SharedPointerGuard
The type used to guard the unsafe value conversion.
source§impl UnsafeToValue for &mut Hasher
impl UnsafeToValue for &mut Hasher
§type Guard = SharedPointerGuard
type Guard = SharedPointerGuard
The type used to guard the unsafe value conversion.
Auto Trait Implementations§
impl RefUnwindSafe for Hasher
impl Send for Hasher
impl Sync for Hasher
impl Unpin for Hasher
impl UnwindSafe for Hasher
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
source§impl<T> FromValue for Twhere
T: Any,
impl<T> FromValue for Twhere
T: Any,
source§fn from_value(value: Value) -> VmResult<T>
fn from_value(value: Value) -> VmResult<T>
Try to convert to the given type, from the given value.