pub struct LowercaseOperator;Expand description
Lowercase operator - converts text to lowercase.
Trait Implementations§
Source§impl Clone for LowercaseOperator
impl Clone for LowercaseOperator
Source§fn clone(&self) -> LowercaseOperator
fn clone(&self) -> LowercaseOperator
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 LowercaseOperator
impl Debug for LowercaseOperator
Source§impl Operator for LowercaseOperator
impl Operator for LowercaseOperator
Source§fn execute(
&self,
ctx: &mut OperatorContext<'_>,
range: Range,
) -> Result<(), OperatorError>
fn execute( &self, ctx: &mut OperatorContext<'_>, range: Range, ) -> Result<(), OperatorError>
Execute the operator on a range. Read more
Source§fn is_text_modifying(&self) -> bool
fn is_text_modifying(&self) -> bool
Whether this operator modifies text. Read more
Source§fn is_linewise(&self) -> bool
fn is_linewise(&self) -> bool
Whether this operator works on whole lines (dd, yy). Read more
impl Copy for LowercaseOperator
Auto Trait Implementations§
impl Freeze for LowercaseOperator
impl RefUnwindSafe for LowercaseOperator
impl Send for LowercaseOperator
impl Sync for LowercaseOperator
impl Unpin for LowercaseOperator
impl UnsafeUnpin for LowercaseOperator
impl UnwindSafe for LowercaseOperator
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