pub enum Korok<'a, 'b> {
Crate(&'b CrateKorok<'a>),
Enum(&'b EnumKorok<'a>),
EnumVariant(&'b EnumVariantKorok<'a>),
Field(&'b FieldKorok<'a>),
Fields(&'b FieldsKorok<'a>),
FileModule(&'b FileModuleKorok<'a>),
Item(&'b ItemKorok<'a>),
Module(&'b ModuleKorok<'a>),
Root(&'b RootKorok<'a>),
Struct(&'b StructKorok<'a>),
UnsupportedItem(&'b UnsupportedItemKorok<'a>),
}Variants§
Crate(&'b CrateKorok<'a>)
Enum(&'b EnumKorok<'a>)
EnumVariant(&'b EnumVariantKorok<'a>)
Field(&'b FieldKorok<'a>)
Fields(&'b FieldsKorok<'a>)
FileModule(&'b FileModuleKorok<'a>)
Item(&'b ItemKorok<'a>)
Module(&'b ModuleKorok<'a>)
Root(&'b RootKorok<'a>)
Struct(&'b StructKorok<'a>)
UnsupportedItem(&'b UnsupportedItemKorok<'a>)
Trait Implementations§
Source§impl<'a, 'b> From<&'b CrateKorok<'a>> for Korok<'a, 'b>
impl<'a, 'b> From<&'b CrateKorok<'a>> for Korok<'a, 'b>
Source§fn from(value: &'b CrateKorok<'a>) -> Self
fn from(value: &'b CrateKorok<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b EnumVariantKorok<'a>> for Korok<'a, 'b>
impl<'a, 'b> From<&'b EnumVariantKorok<'a>> for Korok<'a, 'b>
Source§fn from(value: &'b EnumVariantKorok<'a>) -> Self
fn from(value: &'b EnumVariantKorok<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b FieldKorok<'a>> for Korok<'a, 'b>
impl<'a, 'b> From<&'b FieldKorok<'a>> for Korok<'a, 'b>
Source§fn from(value: &'b FieldKorok<'a>) -> Self
fn from(value: &'b FieldKorok<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b FieldsKorok<'a>> for Korok<'a, 'b>
impl<'a, 'b> From<&'b FieldsKorok<'a>> for Korok<'a, 'b>
Source§fn from(value: &'b FieldsKorok<'a>) -> Self
fn from(value: &'b FieldsKorok<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b FileModuleKorok<'a>> for Korok<'a, 'b>
impl<'a, 'b> From<&'b FileModuleKorok<'a>> for Korok<'a, 'b>
Source§fn from(value: &'b FileModuleKorok<'a>) -> Self
fn from(value: &'b FileModuleKorok<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b ModuleKorok<'a>> for Korok<'a, 'b>
impl<'a, 'b> From<&'b ModuleKorok<'a>> for Korok<'a, 'b>
Source§fn from(value: &'b ModuleKorok<'a>) -> Self
fn from(value: &'b ModuleKorok<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b StructKorok<'a>> for Korok<'a, 'b>
impl<'a, 'b> From<&'b StructKorok<'a>> for Korok<'a, 'b>
Source§fn from(value: &'b StructKorok<'a>) -> Self
fn from(value: &'b StructKorok<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b UnsupportedItemKorok<'a>> for Korok<'a, 'b>
impl<'a, 'b> From<&'b UnsupportedItemKorok<'a>> for Korok<'a, 'b>
Source§fn from(value: &'b UnsupportedItemKorok<'a>) -> Self
fn from(value: &'b UnsupportedItemKorok<'a>) -> Self
Converts to this type from the input type.
impl<'a, 'b> StructuralPartialEq for Korok<'a, 'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for Korok<'a, 'b>
impl<'a, 'b> RefUnwindSafe for Korok<'a, 'b>
impl<'a, 'b> !Send for Korok<'a, 'b>
impl<'a, 'b> !Sync for Korok<'a, 'b>
impl<'a, 'b> Unpin for Korok<'a, 'b>
impl<'a, 'b> UnwindSafe for Korok<'a, 'b>
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