pub enum IronVersion {
V1,
}Expand description
Legion Protocol version information
Variantsยง
V1
Implementationsยง
Sourceยงimpl IronVersion
impl IronVersion
Sourcepub fn as_capability(&self) -> &'static str
pub fn as_capability(&self) -> &'static str
Get the capability string for this Iron version (legacy support)
Sourcepub fn to_legion_version(&self) -> LegionVersion
pub fn to_legion_version(&self) -> LegionVersion
Convert to Legion Protocol version
Trait Implementationsยง
Sourceยงimpl Clone for IronVersion
impl Clone for IronVersion
Sourceยงfn clone(&self) -> IronVersion
fn clone(&self) -> IronVersion
Returns a duplicate 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 IronVersion
impl Debug for IronVersion
Sourceยงimpl PartialEq for IronVersion
impl PartialEq for IronVersion
impl Copy for IronVersion
impl Eq for IronVersion
impl StructuralPartialEq for IronVersion
Auto Trait Implementationsยง
impl Freeze for IronVersion
impl RefUnwindSafe for IronVersion
impl Send for IronVersion
impl Sync for IronVersion
impl Unpin for IronVersion
impl UnsafeUnpin for IronVersion
impl UnwindSafe for IronVersion
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