pub struct PassiveInstance {
pub phrase: String,
pub offset: usize,
pub sentence: String,
}Expand description
A single passive voice occurrence.
Fields§
§phrase: StringThe matched passive phrase (e.g., “was written”)
offset: usizeByte offset in the original text
sentence: StringThe full sentence containing the passive voice
Trait Implementations§
Source§impl Clone for PassiveInstance
impl Clone for PassiveInstance
Source§fn clone(&self) -> PassiveInstance
fn clone(&self) -> PassiveInstance
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 PassiveInstance
impl Debug for PassiveInstance
Source§impl PartialEq for PassiveInstance
impl PartialEq for PassiveInstance
impl StructuralPartialEq for PassiveInstance
Auto Trait Implementations§
impl Freeze for PassiveInstance
impl RefUnwindSafe for PassiveInstance
impl Send for PassiveInstance
impl Sync for PassiveInstance
impl Unpin for PassiveInstance
impl UnsafeUnpin for PassiveInstance
impl UnwindSafe for PassiveInstance
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