Struct hotshot_macros::TypePathBracketedArray
source · pub(crate) struct TypePathBracketedArray {
pub elems: Punctuated<TypePath, Comma>,
}Expand description
Bracketed types, e.g. [A, B, C
Fields§
§elems: Punctuated<TypePath, Comma>elems
Trait Implementations§
source§impl Clone for TypePathBracketedArray
impl Clone for TypePathBracketedArray
source§fn clone(&self) -> TypePathBracketedArray
fn clone(&self) -> TypePathBracketedArray
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TypePathBracketedArray
impl Debug for TypePathBracketedArray
source§impl Parse for TypePathBracketedArray
impl Parse for TypePathBracketedArray
source§fn parse(input: ParseStream<'_>) -> Result<Self>
fn parse(input: ParseStream<'_>) -> Result<Self>
allow panic because this is a compiler error
Auto Trait Implementations§
impl Freeze for TypePathBracketedArray
impl RefUnwindSafe for TypePathBracketedArray
impl !Send for TypePathBracketedArray
impl !Sync for TypePathBracketedArray
impl Unpin for TypePathBracketedArray
impl UnwindSafe for TypePathBracketedArray
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)