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