pub struct RoleAnnotation<'tree> {
pub span: Span,
pub role: Vec<TypeRole<'tree>>,
pub type: RoleAnnotationType<'tree>,
}Fields§
§span: Span§role: Vec<TypeRole<'tree>>§type: RoleAnnotationType<'tree>Trait Implementations§
Source§impl<'tree> Clone for RoleAnnotation<'tree>
impl<'tree> Clone for RoleAnnotation<'tree>
Source§fn clone(&self) -> RoleAnnotation<'tree>
fn clone(&self) -> RoleAnnotation<'tree>
Returns a duplicate 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<'tree> Debug for RoleAnnotation<'tree>
impl<'tree> Debug for RoleAnnotation<'tree>
Source§impl<'tree> FromNode<'tree> for RoleAnnotation<'tree>
impl<'tree> FromNode<'tree> for RoleAnnotation<'tree>
Source§impl<'tree> PartialEq for RoleAnnotation<'tree>
impl<'tree> PartialEq for RoleAnnotation<'tree>
Source§impl Spanned for RoleAnnotation<'_>
impl Spanned for RoleAnnotation<'_>
impl<'tree> Eq for RoleAnnotation<'tree>
impl<'tree> StructuralPartialEq for RoleAnnotation<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for RoleAnnotation<'tree>
impl<'tree> RefUnwindSafe for RoleAnnotation<'tree>
impl<'tree> Send for RoleAnnotation<'tree>
impl<'tree> Sync for RoleAnnotation<'tree>
impl<'tree> Unpin for RoleAnnotation<'tree>
impl<'tree> UnsafeUnpin for RoleAnnotation<'tree>
impl<'tree> UnwindSafe for RoleAnnotation<'tree>
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