pub struct ApiVersionRange { /* private fields */ }
Implementations§
Source§impl ApiVersionRange
impl ApiVersionRange
pub const fn new(min: ApiVersion, max: ApiVersion) -> Self
pub fn min(&self) -> ApiVersion
pub fn max(&self) -> ApiVersion
Trait Implementations§
Source§impl Clone for ApiVersionRange
impl Clone for ApiVersionRange
Source§fn clone(&self) -> ApiVersionRange
fn clone(&self) -> ApiVersionRange
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ApiVersionRange
impl Debug for ApiVersionRange
Source§impl Display for ApiVersionRange
impl Display for ApiVersionRange
Source§impl PartialEq for ApiVersionRange
impl PartialEq for ApiVersionRange
impl Copy for ApiVersionRange
impl Eq for ApiVersionRange
impl StructuralPartialEq for ApiVersionRange
Auto Trait Implementations§
impl Freeze for ApiVersionRange
impl RefUnwindSafe for ApiVersionRange
impl Send for ApiVersionRange
impl Sync for ApiVersionRange
impl Unpin for ApiVersionRange
impl UnwindSafe for ApiVersionRange
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