pub struct GoTypeTerms {
pub parameter: EcoString,
pub terms: Vec<GoTypeTerm>,
}Fields§
§parameter: EcoString§terms: Vec<GoTypeTerm>Implementations§
Source§impl GoTypeTerms
impl GoTypeTerms
pub fn parse_list(input: &str) -> Option<Vec<Self>>
pub fn display_terms(&self) -> String
Trait Implementations§
Source§impl Clone for GoTypeTerms
impl Clone for GoTypeTerms
Source§impl Debug for GoTypeTerms
impl Debug for GoTypeTerms
Source§impl PartialEq for GoTypeTerms
impl PartialEq for GoTypeTerms
impl StructuralPartialEq for GoTypeTerms
Auto Trait Implementations§
impl Forget for GoTypeTerms
impl Freeze for GoTypeTerms
impl Move for GoTypeTerms
impl RefUnwindSafe for GoTypeTerms
impl Send for GoTypeTerms
impl Sync for GoTypeTerms
impl Unpin for GoTypeTerms
impl UnsafeUnpin for GoTypeTermswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<GoTypeTerm>: UnsafeUnpin,
impl UnwindSafe for GoTypeTermswhere
NonNull<u8>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<Box<[Type]>>: UnwindSafe,
Arc<FunctionType>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
Arc<Spelling>: UnwindSafe,
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