pub unsafe trait Index:
Copy
+ Send
+ 'static {
// Required method
fn get_type() -> IndexType;
// Provided method
fn is_supported<C>(caps: &C) -> bool
where C: CapabilitiesSource + ?Sized { ... }
}
Expand description
An index from the index buffer.
Required Methods§
Provided Methods§
sourcefn is_supported<C>(caps: &C) -> boolwhere
C: CapabilitiesSource + ?Sized,
fn is_supported<C>(caps: &C) -> boolwhere
C: CapabilitiesSource + ?Sized,
Returns true if this type of index is supported by the backend.
Object Safety§
This trait is not object safe.