pub struct ExcerptOptions {
pub radius: usize,
pub omission: String,
}Fields§
§radius: usize§omission: StringTrait Implementations§
Source§impl Clone for ExcerptOptions
impl Clone for ExcerptOptions
Source§fn clone(&self) -> ExcerptOptions
fn clone(&self) -> ExcerptOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExcerptOptions
impl Debug for ExcerptOptions
Auto Trait Implementations§
impl Freeze for ExcerptOptions
impl RefUnwindSafe for ExcerptOptions
impl Send for ExcerptOptions
impl Sync for ExcerptOptions
impl Unpin for ExcerptOptions
impl UnsafeUnpin for ExcerptOptions
impl UnwindSafe for ExcerptOptions
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