pub struct StructKorok<'a> {
pub ast: &'a ItemStruct,
pub attributes: Attributes<'a>,
pub fields: FieldsKorok<'a>,
pub node: Option<Node>,
}Fields§
§ast: &'a ItemStruct§attributes: Attributes<'a>§fields: FieldsKorok<'a>§node: Option<Node>Implementations§
Source§impl<'a> StructKorok<'a>
impl<'a> StructKorok<'a>
pub fn parse(item: &'a Item) -> CodamaResult<Self>
Trait Implementations§
Source§impl<'a> Debug for StructKorok<'a>
impl<'a> Debug for StructKorok<'a>
Source§impl<'a, 'b> From<&'b StructKorok<'a>> for Korok<'a, 'b>
impl<'a, 'b> From<&'b StructKorok<'a>> for Korok<'a, 'b>
Source§fn from(value: &'b StructKorok<'a>) -> Self
fn from(value: &'b StructKorok<'a>) -> Self
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>) -> Self
fn from(value: &'b mut StructKorok<'a>) -> Self
Converts to this type from the input type.
Source§impl KorokTrait for StructKorok<'_>
impl KorokTrait for StructKorok<'_>
Source§impl<'a> PartialEq for StructKorok<'a>
impl<'a> PartialEq for StructKorok<'a>
impl<'a> StructuralPartialEq for StructKorok<'a>
Auto Trait Implementations§
impl<'a> Freeze for StructKorok<'a>
impl<'a> RefUnwindSafe for StructKorok<'a>
impl<'a> !Send for StructKorok<'a>
impl<'a> !Sync for StructKorok<'a>
impl<'a> Unpin for StructKorok<'a>
impl<'a> UnwindSafe for StructKorok<'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