pub struct ClicheInstance {
pub phrase: String,
pub offset: usize,
pub canonical: String,
}Expand description
A single cliché occurrence.
Fields§
§phrase: StringThe matched cliché phrase as it appears in the text
offset: usizeByte offset in the original text
canonical: StringThe canonical form from the built-in list
Trait Implementations§
Source§impl Clone for ClicheInstance
impl Clone for ClicheInstance
Source§fn clone(&self) -> ClicheInstance
fn clone(&self) -> ClicheInstance
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 ClicheInstance
impl Debug for ClicheInstance
Source§impl PartialEq for ClicheInstance
impl PartialEq for ClicheInstance
impl StructuralPartialEq for ClicheInstance
Auto Trait Implementations§
impl Freeze for ClicheInstance
impl RefUnwindSafe for ClicheInstance
impl Send for ClicheInstance
impl Sync for ClicheInstance
impl Unpin for ClicheInstance
impl UnsafeUnpin for ClicheInstance
impl UnwindSafe for ClicheInstance
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