pub struct VerbMetadata {
pub lemma: &'static str,
pub class: VerbClass,
pub time: Time,
pub aspect: Aspect,
pub features: &'static [Feature],
}Expand description
Static verb metadata from the lexicon database.
This borrowed struct provides zero-copy access to verb information stored in the generated lexicon. Used for verbs looked up by lemma rather than inflected form.
Fields§
§lemma: &'static strThe dictionary form (infinitive) of the verb.
class: VerbClassThe Vendler aspectual class determining temporal behavior.
time: TimeThe default temporal reference (usually Time::None for infinitives).
aspect: AspectThe default grammatical aspect (usually Aspect::Simple).
features: &'static [Feature]Lexical features controlling syntax and semantics.
See Feature for the full list of possible features.
Trait Implementations§
Source§impl Clone for VerbMetadata
impl Clone for VerbMetadata
Source§fn clone(&self) -> VerbMetadata
fn clone(&self) -> VerbMetadata
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 VerbMetadata
impl Debug for VerbMetadata
Source§impl PartialEq for VerbMetadata
impl PartialEq for VerbMetadata
impl Copy for VerbMetadata
impl Eq for VerbMetadata
impl StructuralPartialEq for VerbMetadata
Auto Trait Implementations§
impl Freeze for VerbMetadata
impl RefUnwindSafe for VerbMetadata
impl Send for VerbMetadata
impl Sync for VerbMetadata
impl Unpin for VerbMetadata
impl UnwindSafe for VerbMetadata
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