pub trait GCompiledTraitConst {
// Required method
fn as_raw_GCompiled(&self) -> *const c_void;
// Provided methods
fn to_bool(&self) -> Result<bool> { ... }
fn can_reshape(&self) -> Result<bool> { ... }
}
Expand description
Constant methods for crate::gapi::GCompiled
Required Methods§
fn as_raw_GCompiled(&self) -> *const c_void
Provided Methods§
Sourcefn to_bool(&self) -> Result<bool>
fn to_bool(&self) -> Result<bool>
Check if compiled object is valid (non-empty)
§Returns
true if the object is runnable (valid), false otherwise
Sourcefn can_reshape(&self) -> Result<bool>
fn can_reshape(&self) -> Result<bool>
Check if the underlying backends support reshape or not.
§Returns
true if supported, false otherwise.