pub enum EventKindOrRange {
EventKind(EventKind),
Range(Vec<EventKind>),
}Expand description
Either an EventKind or a range (a vector of length 2 with start and end)
Variants§
Trait Implementations§
Source§impl Clone for EventKindOrRange
impl Clone for EventKindOrRange
Source§fn clone(&self) -> EventKindOrRange
fn clone(&self) -> EventKindOrRange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventKindOrRange
impl Debug for EventKindOrRange
Source§impl<'de> Deserialize<'de> for EventKindOrRange
impl<'de> Deserialize<'de> for EventKindOrRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EventKindOrRange
impl PartialEq for EventKindOrRange
Source§impl Serialize for EventKindOrRange
impl Serialize for EventKindOrRange
impl Eq for EventKindOrRange
impl StructuralPartialEq for EventKindOrRange
Auto Trait Implementations§
impl Freeze for EventKindOrRange
impl RefUnwindSafe for EventKindOrRange
impl Send for EventKindOrRange
impl Sync for EventKindOrRange
impl Unpin for EventKindOrRange
impl UnwindSafe for EventKindOrRange
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