Trait GCompiledTraitConst

Source
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§

Provided Methods§

Source

fn to_bool(&self) -> Result<bool>

Check if compiled object is valid (non-empty)

§Returns

true if the object is runnable (valid), false otherwise

Source

fn can_reshape(&self) -> Result<bool>

Check if the underlying backends support reshape or not.

§Returns

true if supported, false otherwise.

Implementors§