pub struct ClassOrInterfaceType {
pub path: Path,
pub annotations_prefix: Vec<Annotation>,
}Expand description
A class or interface type with optional type arguments.
Fields§
§path: PathFor a simple type like List, this is the name with optional type args.
For a qualified type like Map.Entry, this contains both segments.
annotations_prefix: Vec<Annotation>Implementations§
Trait Implementations§
Source§impl Clone for ClassOrInterfaceType
impl Clone for ClassOrInterfaceType
Source§fn clone(&self) -> ClassOrInterfaceType
fn clone(&self) -> ClassOrInterfaceType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClassOrInterfaceType
impl Debug for ClassOrInterfaceType
impl Eq for ClassOrInterfaceType
Source§impl Hash for ClassOrInterfaceType
impl Hash for ClassOrInterfaceType
Source§impl PartialEq for ClassOrInterfaceType
impl PartialEq for ClassOrInterfaceType
Source§fn eq(&self, other: &ClassOrInterfaceType) -> bool
fn eq(&self, other: &ClassOrInterfaceType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClassOrInterfaceType
Auto Trait Implementations§
impl Freeze for ClassOrInterfaceType
impl RefUnwindSafe for ClassOrInterfaceType
impl Send for ClassOrInterfaceType
impl Sync for ClassOrInterfaceType
impl Unpin for ClassOrInterfaceType
impl UnsafeUnpin for ClassOrInterfaceType
impl UnwindSafe for ClassOrInterfaceType
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