INTERNAL: Do not use. A Trait. For example:
trait Frobinizable {
type Frobinator;
type Result: Copy;
fn frobinize_with(&mut self, frobinator: &Self::Frobinator) -> Result;
}
pub trait Foo<T: Frobinizable> where T::Frobinator: Eq {}
Import path
import codeql.rust.elements.internal.generated.RawIndirect supertypes
Predicates
| getAssocItemList | Gets the assoc item list of this trait, if it exists. |
| getAttr | Gets the |
| getGenericParamList | Gets the generic parameter list of this trait, if it exists. |
| getName | Gets the name of this trait, if it exists. |
| getNumberOfAttrs | Gets the number of attrs of this trait. |
| getTypeBoundList | Gets the type bound list of this trait, if it exists. |
| getVisibility | Gets the visibility of this trait, if it exists. |
| getWhereClause | Gets the where clause of this trait, if it exists. |
| isAuto | Holds if this trait is auto. |
| isUnsafe | Holds if this trait is unsafe. |
| toString |
Inherited predicates
| getAttributeMacroExpansion | Gets the attribute macro expansion of this item, if it exists. | from Item |