pub struct TypeSlice {
pub bracket_token: Bracket,
pub ty: Box<Type>,
}
Fields§
§bracket_token: Bracket
§ty: Box<Type>
Implementations§
Source§impl TypeSlice
impl TypeSlice
fn to_tokens_inner(&self, tokens: &mut TokenStream, mode: Mode)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeSlice
impl RefUnwindSafe for TypeSlice
impl !Send for TypeSlice
impl !Sync for TypeSlice
impl Unpin for TypeSlice
impl UnwindSafe for TypeSlice
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