pub enum ItemKorok<'a> {
FileModule(FileModuleKorok<'a>),
Module(ModuleKorok<'a>),
Struct(StructKorok<'a>),
Enum(EnumKorok<'a>),
Unsupported(UnsupportedItemKorok<'a>),
}Variants§
FileModule(FileModuleKorok<'a>)
Module(ModuleKorok<'a>)
Struct(StructKorok<'a>)
Enum(EnumKorok<'a>)
Unsupported(UnsupportedItemKorok<'a>)
Implementations§
Source§impl<'a> ItemKorok<'a>
impl<'a> ItemKorok<'a>
pub fn parse( item: &'a Item, file_modules: &'a [FileModuleStore], file_module_index: &mut usize, ) -> CodamaResult<Self>
pub fn parse_all( items: &'a [Item], file_modules: &'a [FileModuleStore], file_module_index: &mut usize, ) -> CodamaResult<Vec<Self>>
Trait Implementations§
Source§impl KorokTrait for ItemKorok<'_>
impl KorokTrait for ItemKorok<'_>
impl<'a> StructuralPartialEq for ItemKorok<'a>
Auto Trait Implementations§
impl<'a> Freeze for ItemKorok<'a>
impl<'a> RefUnwindSafe for ItemKorok<'a>
impl<'a> !Send for ItemKorok<'a>
impl<'a> !Sync for ItemKorok<'a>
impl<'a> Unpin for ItemKorok<'a>
impl<'a> UnwindSafe for ItemKorok<'a>
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