pub struct ErlangSupport { /* private fields */ }Implementations§
Source§impl ErlangSupport
impl ErlangSupport
pub fn new( default: ErlangVersionRange, releases: BTreeMap<HostVersion, ErlangVersionRange>, ) -> Self
Sourcepub fn range_for(&self, release: &HostVersion) -> &ErlangVersionRange
pub fn range_for(&self, release: &HostVersion) -> &ErlangVersionRange
The entry of the nearest listed release at or below release, and
default for anything below the first entry.
Trait Implementations§
Source§impl Clone for ErlangSupport
impl Clone for ErlangSupport
Source§impl Debug for ErlangSupport
impl Debug for ErlangSupport
impl Eq for ErlangSupport
Source§impl PartialEq for ErlangSupport
impl PartialEq for ErlangSupport
Source§impl Serialize for ErlangSupport
impl Serialize for ErlangSupport
impl StructuralPartialEq for ErlangSupport
Auto Trait Implementations§
impl Forget for ErlangSupport
impl Freeze for ErlangSupport
impl Move for ErlangSupport
impl RefUnwindSafe for ErlangSupport
impl Send for ErlangSupport
impl Sync for ErlangSupport
impl Unpin for ErlangSupport
impl UnsafeUnpin for ErlangSupport
impl UnwindSafe for ErlangSupport
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