pub struct InteractionPoint {
pub id: InteractionId,
pub range: Vec<Interval>,
}
Fields§
§id: InteractionId
§range: Vec<Interval>
Implementations§
Source§impl InteractionPoint
impl InteractionPoint
pub fn the_interval(&self) -> &Interval
Trait Implementations§
Source§impl Clone for InteractionPoint
impl Clone for InteractionPoint
Source§fn clone(&self) -> InteractionPoint
fn clone(&self) -> InteractionPoint
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 InteractionPoint
impl Debug for InteractionPoint
Source§impl Default for InteractionPoint
impl Default for InteractionPoint
Source§fn default() -> InteractionPoint
fn default() -> InteractionPoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InteractionPoint
impl<'de> Deserialize<'de> for InteractionPoint
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 Display for InteractionPoint
impl Display for InteractionPoint
Source§impl PartialEq for InteractionPoint
impl PartialEq for InteractionPoint
impl Eq for InteractionPoint
impl StructuralPartialEq for InteractionPoint
Auto Trait Implementations§
impl Freeze for InteractionPoint
impl RefUnwindSafe for InteractionPoint
impl Send for InteractionPoint
impl Sync for InteractionPoint
impl Unpin for InteractionPoint
impl UnwindSafe for InteractionPoint
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more