pub struct Marker;Expand description
Haystack Marker
§Example
Create Marker value
use libhaystack::val::*;
let marker_value = Value::from(Marker);
assert!(marker_value.is_marker());
assert_eq!(Marker::try_from(&marker_value), Ok(Marker));Trait Implementations§
impl Copy for Marker
Source§impl<'de> Deserialize<'de> for Marker
Hayson Marker deserializer
impl<'de> Deserialize<'de> for Marker
Hayson Marker deserializer
Source§fn deserialize<D: Deserializer<'de>>(
deserializer: D,
) -> Result<Marker, D::Error>
fn deserialize<D: Deserializer<'de>>( deserializer: D, ) -> Result<Marker, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Marker
Source§impl Ord for Marker
impl Ord for Marker
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Marker
impl PartialOrd for Marker
impl StructuralPartialEq for Marker
Auto Trait Implementations§
impl Freeze for Marker
impl RefUnwindSafe for Marker
impl Send for Marker
impl Sync for Marker
impl Unpin for Marker
impl UnsafeUnpin for Marker
impl UnwindSafe for Marker
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