pub struct Group { /* private fields */ }Implementations§
Source§impl Group
impl Group
pub fn new(label: impl Into<String>) -> Group
pub fn of(label: impl Into<String>, edits: Vec<Box<dyn Edit>>) -> Group
pub fn with(self, edit: impl Edit) -> Group
pub fn push(&mut self, edit: Box<dyn Edit>)
pub fn edits(&self) -> &[Box<dyn Edit>]
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Group
impl !RefUnwindSafe for Group
impl !Send for Group
impl !Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl !UnwindSafe for Group
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