pub trait GKernelPackageTraitConst {
// Required method
fn as_raw_GKernelPackage(&self) -> *const c_void;
// Provided methods
fn get_transformations(&self) -> Result<Vector<GTransform>> { ... }
fn get_kernel_ids(&self) -> Result<Vector<String>> { ... }
fn includes_api(&self, id: &str) -> Result<bool> { ... }
fn lookup(&self, id: &str) -> Result<Tuple<(GBackend, GKernelImpl)>> { ... }
fn backends(&self) -> Result<Vector<GBackend>> { ... }
}
Expand description
Constant methods for crate::gapi::GKernelPackage
Required Methods§
fn as_raw_GKernelPackage(&self) -> *const c_void
Provided Methods§
Sourcefn get_transformations(&self) -> Result<Vector<GTransform>>
fn get_transformations(&self) -> Result<Vector<GTransform>>
Returns vector of transformations included in the package
§Returns
vector of transformations included in the package
Sourcefn get_kernel_ids(&self) -> Result<Vector<String>>
fn get_kernel_ids(&self) -> Result<Vector<String>>
Returns vector of kernel ids included in the package
§Returns
vector of kernel ids included in the package
Sourcefn includes_api(&self, id: &str) -> Result<bool>
fn includes_api(&self, id: &str) -> Result<bool>
@private