pub trait AsSequenceMut {
type Item;
type Sequence<'a>: Sequence<Item = &'a mut Self::Item>
where Self: 'a,
Self::Item: 'a;
// Required method
fn as_sequence_mut(&mut self) -> Self::Sequence<'_>;
}Expand description
Allowed borrowing self mutably as a sequence of values owned by self.
Required Associated Types§
type Item
type Sequence<'a>: Sequence<Item = &'a mut Self::Item> where Self: 'a, Self::Item: 'a
Required Methods§
fn as_sequence_mut(&mut self) -> Self::Sequence<'_>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.