pub struct TypeParam<'a> {
pub param: TypeVarLike<'a>,
pub comma: Option<Comma<'a>>,
pub equal: Option<AssignEqual<'a>>,
pub star: &'a str,
pub whitespace_after_star: SimpleWhitespace<'a>,
pub default: Option<Expression<'a>>,
}Fields§
§param: TypeVarLike<'a>§comma: Option<Comma<'a>>§equal: Option<AssignEqual<'a>>§star: &'a str§whitespace_after_star: SimpleWhitespace<'a>§default: Option<Expression<'a>>Trait Implementations§
impl<'a> Eq for TypeParam<'a>
impl<'a> StructuralPartialEq for TypeParam<'a>
Auto Trait Implementations§
impl<'a> Freeze for TypeParam<'a>
impl<'a> RefUnwindSafe for TypeParam<'a>
impl<'a> Send for TypeParam<'a>
impl<'a> Sync for TypeParam<'a>
impl<'a> Unpin for TypeParam<'a>
impl<'a> UnwindSafe for TypeParam<'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