pub struct SemanticPrimitive {
pub id: SymbolId,
pub name: String,
pub original_name: String,
pub description: String,
pub parameters: Vec<SemanticTypeParameter>,
pub fallback: Option<SymbolId>,
}Fields§
§id: SymbolId§name: String§original_name: String§description: String§parameters: Vec<SemanticTypeParameter>Resolved generic parameters
fallback: Option<SymbolId>Resolved fallback type reference
Trait Implementations§
Source§impl Clone for SemanticPrimitive
impl Clone for SemanticPrimitive
Source§fn clone(&self) -> SemanticPrimitive
fn clone(&self) -> SemanticPrimitive
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 Debug for SemanticPrimitive
impl Debug for SemanticPrimitive
Source§impl PartialEq for SemanticPrimitive
impl PartialEq for SemanticPrimitive
impl Eq for SemanticPrimitive
impl StructuralPartialEq for SemanticPrimitive
Auto Trait Implementations§
impl Freeze for SemanticPrimitive
impl RefUnwindSafe for SemanticPrimitive
impl Send for SemanticPrimitive
impl Sync for SemanticPrimitive
impl Unpin for SemanticPrimitive
impl UnsafeUnpin for SemanticPrimitive
impl UnwindSafe for SemanticPrimitive
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