pub trait TypedExtCPP: Typed {
Show 17 methods
// Provided methods
fn is_uniform_ptr(&self, ctx: &Context) -> bool { ... }
fn is_complex(&self, ctx: &Context) -> bool { ... }
fn is_half(&self, ctx: &Context) -> bool { ... }
fn is_half2(&self, ctx: &Context) -> bool { ... }
fn is_float8(&self, ctx: &Context) -> bool { ... }
fn is_float8x2(&self, ctx: &Context) -> bool { ... }
fn is_float6(&self, ctx: &Context) -> bool { ... }
fn is_float6x2(&self, ctx: &Context) -> bool { ... }
fn is_float4(&self, ctx: &Context) -> bool { ... }
fn is_float4x2(&self, ctx: &Context) -> bool { ... }
fn is_fp8_fp6_fp4(&self, ctx: &Context) -> bool { ... }
fn is_packed_fp6_fp8_fp4(&self, ctx: &Context) -> bool { ... }
fn can_pack(&self, ctx: &Context) -> bool { ... }
fn packed_type(&self, ctx: &Context) -> TypeHandle { ... }
fn is_small_int(&self, ctx: &Context) -> bool { ... }
fn is_small_signed_int(&self, ctx: &Context) -> bool { ... }
fn is_small_unsigned_int(&self, ctx: &Context) -> bool { ... }
}Provided Methods§
fn is_uniform_ptr(&self, ctx: &Context) -> bool
fn is_complex(&self, ctx: &Context) -> bool
fn is_half(&self, ctx: &Context) -> bool
fn is_half2(&self, ctx: &Context) -> bool
fn is_float8(&self, ctx: &Context) -> bool
fn is_float8x2(&self, ctx: &Context) -> bool
fn is_float6(&self, ctx: &Context) -> bool
fn is_float6x2(&self, ctx: &Context) -> bool
fn is_float4(&self, ctx: &Context) -> bool
fn is_float4x2(&self, ctx: &Context) -> bool
fn is_fp8_fp6_fp4(&self, ctx: &Context) -> bool
fn is_packed_fp6_fp8_fp4(&self, ctx: &Context) -> bool
fn can_pack(&self, ctx: &Context) -> bool
fn packed_type(&self, ctx: &Context) -> TypeHandle
Sourcefn is_small_int(&self, ctx: &Context) -> bool
fn is_small_int(&self, ctx: &Context) -> bool
Whether the type is an integer that may be auto-promoted by C++ They need special handling
fn is_small_signed_int(&self, ctx: &Context) -> bool
fn is_small_unsigned_int(&self, ctx: &Context) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".