pub struct UppercaseOperator;Expand description
Uppercase operator - converts text to uppercase.
Trait Implementations§
Source§impl Clone for UppercaseOperator
impl Clone for UppercaseOperator
Source§fn clone(&self) -> UppercaseOperator
fn clone(&self) -> UppercaseOperator
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 UppercaseOperator
impl Debug for UppercaseOperator
Source§impl Operator for UppercaseOperator
impl Operator for UppercaseOperator
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 UppercaseOperator
Auto Trait Implementations§
impl Freeze for UppercaseOperator
impl RefUnwindSafe for UppercaseOperator
impl Send for UppercaseOperator
impl Sync for UppercaseOperator
impl Unpin for UppercaseOperator
impl UnsafeUnpin for UppercaseOperator
impl UnwindSafe for UppercaseOperator
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