pub struct FileModuleKorok<'a> {
pub ast: &'a ItemMod,
pub attributes: Attributes<'a>,
pub file_attributes: Attributes<'a>,
pub items: Vec<ItemKorok<'a>>,
pub node: Option<Node>,
pub store: &'a FileModuleStore,
}Fields§
§ast: &'a ItemMod§attributes: Attributes<'a>§file_attributes: Attributes<'a>§items: Vec<ItemKorok<'a>>§node: Option<Node>§store: &'a FileModuleStoreImplementations§
Source§impl<'a> FileModuleKorok<'a>
impl<'a> FileModuleKorok<'a>
pub fn parse( item: &'a Item, store: &'a FileModuleStore, ) -> Result<FileModuleKorok<'a>, CodamaError>
Trait Implementations§
Source§impl<'a> Debug for FileModuleKorok<'a>
impl<'a> Debug for FileModuleKorok<'a>
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>) -> Korok<'a, 'b>
fn from(value: &'b FileModuleKorok<'a>) -> Korok<'a, 'b>
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b mut FileModuleKorok<'a>> for KorokMut<'a, 'b>
impl<'a, 'b> From<&'b mut FileModuleKorok<'a>> for KorokMut<'a, 'b>
Source§fn from(value: &'b mut FileModuleKorok<'a>) -> KorokMut<'a, 'b>
fn from(value: &'b mut FileModuleKorok<'a>) -> KorokMut<'a, 'b>
Converts to this type from the input type.
Source§impl KorokTrait for FileModuleKorok<'_>
impl KorokTrait for FileModuleKorok<'_>
Source§impl KorokVisitable for FileModuleKorok<'_>
impl KorokVisitable for FileModuleKorok<'_>
fn accept(&mut self, visitor: &mut dyn KorokVisitor) -> Result<(), CodamaError>
fn get_children(&mut self) -> Vec<&mut dyn KorokVisitable>
Source§impl<'a> PartialEq for FileModuleKorok<'a>
impl<'a> PartialEq for FileModuleKorok<'a>
impl<'a> StructuralPartialEq for FileModuleKorok<'a>
Auto Trait Implementations§
impl<'a> Freeze for FileModuleKorok<'a>
impl<'a> RefUnwindSafe for FileModuleKorok<'a>
impl<'a> !Send for FileModuleKorok<'a>
impl<'a> !Sync for FileModuleKorok<'a>
impl<'a> Unpin for FileModuleKorok<'a>
impl<'a> UnwindSafe for FileModuleKorok<'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