pub enum StringOperation {
Show 13 variants
Equals = 0,
PlusEquals = 1,
CopyFirstLine = 2,
CutFirstLine = 3,
CutFirstCharacter = 4,
LoadFileContents = 5,
ExportToFile = 6,
GetFileList = 7,
RemoveInstancesOf = 8,
Replace = 9,
CutUpTo = 10,
CutAfter = 11,
Unknown = 12,
}Variants§
Equals = 0
PlusEquals = 1
CopyFirstLine = 2
CutFirstLine = 3
CutFirstCharacter = 4
LoadFileContents = 5
ExportToFile = 6
GetFileList = 7
RemoveInstancesOf = 8
Replace = 9
CutUpTo = 10
CutAfter = 11
Unknown = 12
Implementations§
Source§impl StringOperation
impl StringOperation
pub const fn new(operation: u8) -> StringOperation
Trait Implementations§
Source§impl Clone for StringOperation
impl Clone for StringOperation
Source§fn clone(&self) -> StringOperation
fn clone(&self) -> StringOperation
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 PartialEq for StringOperation
impl PartialEq for StringOperation
Source§fn eq(&self, other: &StringOperation) -> bool
fn eq(&self, other: &StringOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StringOperation
Auto Trait Implementations§
impl Freeze for StringOperation
impl RefUnwindSafe for StringOperation
impl Send for StringOperation
impl Sync for StringOperation
impl Unpin for StringOperation
impl UnsafeUnpin for StringOperation
impl UnwindSafe for StringOperation
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