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