pub enum GoTypeRecipe {
Parameter(String),
Slice(Box<GoTypeRecipe>),
Map(Box<GoTypeRecipe>, Box<GoTypeRecipe>),
Array(Box<GoTypeRecipe>, u64),
}Variants§
Parameter(String)
Slice(Box<GoTypeRecipe>)
Map(Box<GoTypeRecipe>, Box<GoTypeRecipe>)
Array(Box<GoTypeRecipe>, u64)
Implementations§
Source§impl GoTypeRecipe
impl GoTypeRecipe
pub fn parse_list(input: &str) -> Option<Vec<Self>>
Trait Implementations§
Source§impl Clone for GoTypeRecipe
impl Clone for GoTypeRecipe
Source§impl Debug for GoTypeRecipe
impl Debug for GoTypeRecipe
impl Eq for GoTypeRecipe
Source§impl PartialEq for GoTypeRecipe
impl PartialEq for GoTypeRecipe
impl StructuralPartialEq for GoTypeRecipe
Auto Trait Implementations§
impl Forget for GoTypeRecipe
impl Freeze for GoTypeRecipewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const GoTypeRecipe is !null: Freeze,
PhantomData<GoTypeRecipe>: Freeze,
impl Move for GoTypeRecipe
impl RefUnwindSafe for GoTypeRecipe
impl Send for GoTypeRecipe
impl Sync for GoTypeRecipe
impl Unpin for GoTypeRecipe
impl UnsafeUnpin for GoTypeRecipewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const GoTypeRecipe is !null: UnsafeUnpin,
PhantomData<GoTypeRecipe>: UnsafeUnpin,
impl UnwindSafe for GoTypeRecipe
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