pub enum KorokMut<'a, 'b> {
Show 13 variants
Crate(&'b mut CrateKorok<'a>),
Enum(&'b mut EnumKorok<'a>),
EnumVariant(&'b mut EnumVariantKorok<'a>),
Field(&'b mut FieldKorok<'a>),
FileModule(&'b mut FileModuleKorok<'a>),
Item(&'b mut ItemKorok<'a>),
Module(&'b mut ModuleKorok<'a>),
Root(&'b mut RootKorok<'a>),
Struct(&'b mut StructKorok<'a>),
Const(&'b mut ConstKorok<'a>),
UnsupportedItem(&'b mut UnsupportedItemKorok<'a>),
ImplItem(&'b mut ImplItemKorok<'a>),
UnsupportedImplItem(&'b mut UnsupportedImplItemKorok<'a>),
}Variants§
Crate(&'b mut CrateKorok<'a>)
Enum(&'b mut EnumKorok<'a>)
EnumVariant(&'b mut EnumVariantKorok<'a>)
Field(&'b mut FieldKorok<'a>)
FileModule(&'b mut FileModuleKorok<'a>)
Item(&'b mut ItemKorok<'a>)
Module(&'b mut ModuleKorok<'a>)
Root(&'b mut RootKorok<'a>)
Struct(&'b mut StructKorok<'a>)
Const(&'b mut ConstKorok<'a>)
UnsupportedItem(&'b mut UnsupportedItemKorok<'a>)
ImplItem(&'b mut ImplItemKorok<'a>)
UnsupportedImplItem(&'b mut UnsupportedImplItemKorok<'a>)
Trait Implementations§
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<'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<'a, 'b> From<&'b mut EnumVariantKorok<'a>> for KorokMut<'a, 'b>
impl<'a, 'b> From<&'b mut EnumVariantKorok<'a>> for KorokMut<'a, 'b>
Source§fn from(value: &'b mut EnumVariantKorok<'a>) -> KorokMut<'a, 'b>
fn from(value: &'b mut EnumVariantKorok<'a>) -> KorokMut<'a, 'b>
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b mut FieldKorok<'a>> for KorokMut<'a, 'b>
impl<'a, 'b> From<&'b mut FieldKorok<'a>> for KorokMut<'a, 'b>
Source§fn from(value: &'b mut FieldKorok<'a>) -> KorokMut<'a, 'b>
fn from(value: &'b mut FieldKorok<'a>) -> KorokMut<'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<'a, 'b> From<&'b mut ImplItemKorok<'a>> for KorokMut<'a, 'b>
impl<'a, 'b> From<&'b mut ImplItemKorok<'a>> for KorokMut<'a, 'b>
Source§fn from(value: &'b mut ImplItemKorok<'a>) -> KorokMut<'a, 'b>
fn from(value: &'b mut ImplItemKorok<'a>) -> KorokMut<'a, 'b>
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b mut ModuleKorok<'a>> for KorokMut<'a, 'b>
impl<'a, 'b> From<&'b mut ModuleKorok<'a>> for KorokMut<'a, 'b>
Source§fn from(value: &'b mut ModuleKorok<'a>) -> KorokMut<'a, 'b>
fn from(value: &'b mut ModuleKorok<'a>) -> KorokMut<'a, 'b>
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b mut StructKorok<'a>> for KorokMut<'a, 'b>
impl<'a, 'b> From<&'b mut StructKorok<'a>> for KorokMut<'a, 'b>
Source§fn from(value: &'b mut StructKorok<'a>) -> KorokMut<'a, 'b>
fn from(value: &'b mut StructKorok<'a>) -> KorokMut<'a, 'b>
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b mut UnsupportedImplItemKorok<'a>> for KorokMut<'a, 'b>
impl<'a, 'b> From<&'b mut UnsupportedImplItemKorok<'a>> for KorokMut<'a, 'b>
Source§fn from(value: &'b mut UnsupportedImplItemKorok<'a>) -> KorokMut<'a, 'b>
fn from(value: &'b mut UnsupportedImplItemKorok<'a>) -> KorokMut<'a, 'b>
Converts to this type from the input type.
Source§impl<'a, 'b> From<&'b mut UnsupportedItemKorok<'a>> for KorokMut<'a, 'b>
impl<'a, 'b> From<&'b mut UnsupportedItemKorok<'a>> for KorokMut<'a, 'b>
Source§fn from(value: &'b mut UnsupportedItemKorok<'a>) -> KorokMut<'a, 'b>
fn from(value: &'b mut UnsupportedItemKorok<'a>) -> KorokMut<'a, 'b>
Converts to this type from the input type.
Source§impl KorokTrait for KorokMut<'_, '_>
impl KorokTrait for KorokMut<'_, '_>
Source§impl KorokVisitable for KorokMut<'_, '_>
impl KorokVisitable for KorokMut<'_, '_>
fn accept(&mut self, visitor: &mut dyn KorokVisitor) -> Result<(), CodamaError>
fn get_children(&mut self) -> Vec<&mut dyn KorokVisitable>
impl<'a, 'b> StructuralPartialEq for KorokMut<'a, 'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for KorokMut<'a, 'b>
impl<'a, 'b> RefUnwindSafe for KorokMut<'a, 'b>
impl<'a, 'b> !Send for KorokMut<'a, 'b>
impl<'a, 'b> !Sync for KorokMut<'a, 'b>
impl<'a, 'b> Unpin for KorokMut<'a, 'b>
impl<'a, 'b> !UnwindSafe for KorokMut<'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