pub struct CigarViewMut<'a>(/* private fields */);Expand description
Implementations§
Source§impl<'a> CigarViewMut<'a>
impl<'a> CigarViewMut<'a>
Sourcepub fn from_slice_unchecked(v: &'a mut [u8]) -> Self
pub fn from_slice_unchecked(v: &'a mut [u8]) -> Self
Creates a new CigarViewMut from v without checking for validity.
Sourcepub fn iter(&self) -> CigletIterator<'_> ⓘ
pub fn iter(&self) -> CigletIterator<'_> ⓘ
Returns an iterator of the contained Ciglet values.
Trait Implementations§
Source§impl AsView for CigarViewMut<'_>
impl AsView for CigarViewMut<'_>
Source§impl AssocOwnedType for CigarViewMut<'_>
impl AssocOwnedType for CigarViewMut<'_>
Source§impl AssocViewMutType for CigarViewMut<'_>
impl AssocViewMutType for CigarViewMut<'_>
Source§type ViewMut<'a> = CigarViewMut<'a>
type ViewMut<'a> = CigarViewMut<'a>
The mutable view data type associated with
Self.Source§impl AssocViewType for CigarViewMut<'_>
impl AssocViewType for CigarViewMut<'_>
Source§impl<'a> DataViewMut<'a> for CigarViewMut<'a>
impl<'a> DataViewMut<'a> for CigarViewMut<'a>
Source§fn reborrow_view_mut<'b>(&'b mut self) -> CigarViewMut<'b>where
'a: 'b,
fn reborrow_view_mut<'b>(&'b mut self) -> CigarViewMut<'b>where
'a: 'b,
Reborrows the mutable view, reducing the lifetime to
'b.Source§impl Debug for CigarViewMut<'_>
impl Debug for CigarViewMut<'_>
Source§impl Display for CigarViewMut<'_>
impl Display for CigarViewMut<'_>
impl<'a> Eq for CigarViewMut<'a>
Source§impl<'a> Hash for CigarViewMut<'a>
impl<'a> Hash for CigarViewMut<'a>
Source§impl<'a> IntoIterator for &'a CigarViewMut<'a>
impl<'a> IntoIterator for &'a CigarViewMut<'a>
Source§impl Len for CigarViewMut<'_>
impl Len for CigarViewMut<'_>
Source§impl<'a> PartialEq for CigarViewMut<'a>
impl<'a> PartialEq for CigarViewMut<'a>
impl<'a> StructuralPartialEq for CigarViewMut<'a>
Source§impl ToCigletIterator for &CigarViewMut<'_>
impl ToCigletIterator for &CigarViewMut<'_>
Source§type Iter<'a> = CigletIterator<'a>
where
Self: 'a
type Iter<'a> = CigletIterator<'a> where Self: 'a
The type of the iterator, which must yield
Ciglet items.Source§fn to_ciglet_iterator(&self) -> CigletIterator<'_> ⓘ
fn to_ciglet_iterator(&self) -> CigletIterator<'_> ⓘ
Creates an iterator over the
Ciglet values.Source§impl ToOwnedData for CigarViewMut<'_>
impl ToOwnedData for CigarViewMut<'_>
Source§fn to_owned_data(&self) -> Cigar
fn to_owned_data(&self) -> Cigar
Creates an owned copy of the data via cloning.
Source§impl<'a> ToView<'a> for CigarViewMut<'a>
impl<'a> ToView<'a> for CigarViewMut<'a>
Auto Trait Implementations§
impl<'a> !UnwindSafe for CigarViewMut<'a>
impl<'a> Freeze for CigarViewMut<'a>
impl<'a> RefUnwindSafe for CigarViewMut<'a>
impl<'a> Send for CigarViewMut<'a>
impl<'a> Sync for CigarViewMut<'a>
impl<'a> Unpin for CigarViewMut<'a>
impl<'a> UnsafeUnpin for CigarViewMut<'a>
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