pub trait VecLikeAbstract: VecLike {
// Required method
fn retain<F>(&mut self, f: F)
where F: FnMut(Self::Elem) -> bool;
}Required Methods§
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.
Implementations on Foreign Types§
Source§impl VecLikeAbstract for String
impl VecLikeAbstract for String
Source§impl<A: Array<Item = u8>> VecLikeAbstract for SmallString<A>
Available on crate feature smallstr only.
impl<A: Array<Item = u8>> VecLikeAbstract for SmallString<A>
Available on crate feature
smallstr only.