pub struct SupportedVersions { /* private fields */ }Implementations§
Source§impl SupportedVersions
impl SupportedVersions
pub fn new(versions: Vec<SupportedVersion>) -> SupportedVersions
pub fn iter(&self) -> impl Iterator<Item = &SupportedVersion> + '_
Trait Implementations§
Source§impl Clone for SupportedVersions
impl Clone for SupportedVersions
Source§fn clone(&self) -> SupportedVersions
fn clone(&self) -> SupportedVersions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SupportedVersions
impl RefUnwindSafe for SupportedVersions
impl Send for SupportedVersions
impl Sync for SupportedVersions
impl Unpin for SupportedVersions
impl UnsafeUnpin for SupportedVersions
impl UnwindSafe for SupportedVersions
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