pub struct GPCTree { /* private fields */ }
Expand description
Class for individual tree.
Implementations
Trait Implementations
sourceimpl AlgorithmTrait for GPCTree
impl AlgorithmTrait for GPCTree
sourceimpl AlgorithmTraitConst for GPCTree
impl AlgorithmTraitConst for GPCTree
fn as_raw_Algorithm(&self) -> *const c_void
sourcefn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
sourcefn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings Stores algorithm parameters in a file storage Read more
sourcefn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
sourcefn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more
sourcefn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more
sourceimpl Boxed for GPCTree
impl Boxed for GPCTree
sourceimpl GPCTreeTrait for GPCTree
impl GPCTreeTrait for GPCTree
sourceimpl GPCTreeTraitConst for GPCTree
impl GPCTreeTraitConst for GPCTree
fn as_raw_GPCTree(&self) -> *const c_void
fn write(&self, fs: &mut FileStorage) -> Result<()>
fn find_leaf_for_patch(&self, descr: &GPCPatchDescriptor) -> Result<u32>
fn equals(&self, t: &GPCTree) -> Result<bool>
fn get_descriptor_type(&self) -> Result<i32>
impl Send for GPCTree
Auto Trait Implementations
impl RefUnwindSafe for GPCTree
impl !Sync for GPCTree
impl Unpin for GPCTree
impl UnwindSafe for GPCTree
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more