pub struct ThetaRoles<'a> {
pub agent: Option<Actor<'a>>,
pub patient: Option<Actor<'a>>,
}Expand description
The representation of the theta roles of a given event.
Fields§
§agent: Option<Actor<'a>>The agent of the event.
patient: Option<Actor<'a>>The patient of the event.
Trait Implementations§
Source§impl<'a> Clone for ThetaRoles<'a>
impl<'a> Clone for ThetaRoles<'a>
Source§fn clone(&self) -> ThetaRoles<'a>
fn clone(&self) -> ThetaRoles<'a>
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<'a> Debug for ThetaRoles<'a>
impl<'a> Debug for ThetaRoles<'a>
Source§impl<'a> Default for ThetaRoles<'a>
impl<'a> Default for ThetaRoles<'a>
Source§fn default() -> ThetaRoles<'a>
fn default() -> ThetaRoles<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Hash for ThetaRoles<'a>
impl<'a> Hash for ThetaRoles<'a>
Source§impl<'a> PartialEq for ThetaRoles<'a>
impl<'a> PartialEq for ThetaRoles<'a>
impl<'a> Copy for ThetaRoles<'a>
impl<'a> Eq for ThetaRoles<'a>
impl<'a> StructuralPartialEq for ThetaRoles<'a>
Auto Trait Implementations§
impl<'a> Freeze for ThetaRoles<'a>
impl<'a> RefUnwindSafe for ThetaRoles<'a>
impl<'a> Send for ThetaRoles<'a>
impl<'a> Sync for ThetaRoles<'a>
impl<'a> Unpin for ThetaRoles<'a>
impl<'a> UnwindSafe for ThetaRoles<'a>
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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§impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
impl<'src, T> IntoMaybe<'src, T> for Twhere
T: 'src,
§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
§type Iter<'a> = Once<&'a T>
where
T: 'a
type Iter<'a> = Once<&'a T> where T: 'a
An iterator over the items within this container, by reference.
§fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
fn contains(&self, val: &T) -> boolwhere
T: PartialEq,
Check whether an item is contained within this sequence.
§fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>where
'p: 'b,
Convert an item of the sequence into a [
MaybeRef].