#[repr(C)]pub struct BinaryTree {
pub root: *mut BTNode,
pub count: c_int,
pub CompareKey: Option<unsafe extern "C" fn(tree: *mut BinaryTree, a: uintptr, b: uintptr) -> c_int>,
pub FreeKey: Option<unsafe extern "C" fn(key: *mut c_void)>,
}Fields§
§root: *mut BTNode§count: c_int§CompareKey: Option<unsafe extern "C" fn(tree: *mut BinaryTree, a: uintptr, b: uintptr) -> c_int>§FreeKey: Option<unsafe extern "C" fn(key: *mut c_void)>Trait Implementations§
Source§impl Clone for BinaryTree
impl Clone for BinaryTree
Source§fn clone(&self) -> BinaryTree
fn clone(&self) -> BinaryTree
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinaryTree
impl Debug for BinaryTree
impl Copy for BinaryTree
Auto Trait Implementations§
impl Freeze for BinaryTree
impl RefUnwindSafe for BinaryTree
impl !Send for BinaryTree
impl !Sync for BinaryTree
impl Unpin for BinaryTree
impl UnsafeUnpin for BinaryTree
impl UnwindSafe for BinaryTree
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more