pub struct Array { /* private fields */ }Expand description
An array.
Implementations§
Source§impl Array
impl Array
Sourcepub const fn items_mut(&mut self) -> &mut Vec<Item>
pub const fn items_mut(&mut self) -> &mut Vec<Item>
The items, to add, remove, reorder, or change.
Sourcepub const fn closing_decor(&self) -> &str
pub const fn closing_decor(&self) -> &str
The text after the last item, before the closing ].
Sourcepub const fn closing_decor_mut(&mut self) -> &mut String
pub const fn closing_decor_mut(&mut self) -> &mut String
The text after the last item, to change.
Trait Implementations§
impl StructuralPartialEq for Array
Auto Trait Implementations§
impl Freeze for Array
impl RefUnwindSafe for Array
impl Send for Array
impl Sync for Array
impl Unpin for Array
impl UnsafeUnpin for Array
impl UnwindSafe for Array
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