pub struct CutGraftCommand {
pub cut: String,
pub end: Option<String>,
pub graft: String,
pub full: bool,
}Expand description
Parsed cut [A/a1/b2] graft replacement command.
解析 cut [A/a1/b2] graft replacement 命令。
Fields§
§cut: StringStart of the cut path or of a range. 切口路径或区间的起点。
end: Option<String>Far endpoint when the command spelled a range. 命令写出区间时的远端终点。
graft: StringExternal implementation selector. 外部实现选择器。
full: boolWhether the cut replaces the whole subtree. 该切口是否替换整棵子树。
Implementations§
Trait Implementations§
Source§impl Clone for CutGraftCommand
impl Clone for CutGraftCommand
Source§fn clone(&self) -> CutGraftCommand
fn clone(&self) -> CutGraftCommand
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 CutGraftCommand
impl Debug for CutGraftCommand
impl Eq for CutGraftCommand
Source§impl PartialEq for CutGraftCommand
impl PartialEq for CutGraftCommand
impl StructuralPartialEq for CutGraftCommand
Auto Trait Implementations§
impl Freeze for CutGraftCommand
impl RefUnwindSafe for CutGraftCommand
impl Send for CutGraftCommand
impl Sync for CutGraftCommand
impl Unpin for CutGraftCommand
impl UnsafeUnpin for CutGraftCommand
impl UnwindSafe for CutGraftCommand
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