pub enum Command {
Show 30 variants
Substitute(SubstituteCmd),
Transliterate {
from: Vec<char>,
to: Vec<char>,
},
Print,
PrintFirstLine,
PrintLineNumber,
List,
Delete,
DeleteFirstLine,
Next,
NextAppend,
HoldReplace,
HoldAppend,
GetReplace,
GetAppend,
Exchange,
Append(String),
Insert(String),
Change(String),
Label(String),
Branch(Option<String>),
BranchIfSub(Option<String>),
BranchIfNotSub(Option<String>),
ReadFile(String),
WriteFile(String),
WriteFirstLine(String),
Quit(Option<i32>),
QuitNoprint(Option<i32>),
ClearPattern,
Noop,
Block(Vec<SedCommand>),
}Variants§
Substitute(SubstituteCmd)
Transliterate
PrintFirstLine
PrintLineNumber
List
Delete
DeleteFirstLine
Next
NextAppend
HoldReplace
HoldAppend
GetReplace
GetAppend
Exchange
Append(String)
Insert(String)
Change(String)
Label(String)
Branch(Option<String>)
BranchIfSub(Option<String>)
BranchIfNotSub(Option<String>)
ReadFile(String)
WriteFile(String)
WriteFirstLine(String)
Quit(Option<i32>)
QuitNoprint(Option<i32>)
ClearPattern
Noop
Block(Vec<SedCommand>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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