pub struct SemanticTypeParameter {
pub name: String,
pub description: String,
pub bounds: Vec<SymbolId>,
pub default: Option<SymbolId>,
}Fields§
§name: String§description: String§bounds: Vec<SymbolId>Constraints on the type parameter
default: Option<SymbolId>Trait Implementations§
Source§impl Clone for SemanticTypeParameter
impl Clone for SemanticTypeParameter
Source§fn clone(&self) -> SemanticTypeParameter
fn clone(&self) -> SemanticTypeParameter
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 SemanticTypeParameter
impl Debug for SemanticTypeParameter
Source§impl PartialEq for SemanticTypeParameter
impl PartialEq for SemanticTypeParameter
impl Eq for SemanticTypeParameter
impl StructuralPartialEq for SemanticTypeParameter
Auto Trait Implementations§
impl Freeze for SemanticTypeParameter
impl RefUnwindSafe for SemanticTypeParameter
impl Send for SemanticTypeParameter
impl Sync for SemanticTypeParameter
impl Unpin for SemanticTypeParameter
impl UnsafeUnpin for SemanticTypeParameter
impl UnwindSafe for SemanticTypeParameter
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