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