#[repr(C)]pub struct TreeRotation {
pub value: u8,
}Expand description
Fields§
§value: u8Implementations§
Source§impl TreeRotation
impl TreeRotation
pub fn left() -> Self
pub fn left_right() -> Self
pub fn right() -> Self
pub fn right_left() -> Self
Trait Implementations§
Source§impl ClassIdentity for TreeRotation
impl ClassIdentity for TreeRotation
Source§impl Clone for TreeRotation
impl Clone for TreeRotation
Source§fn clone(&self) -> TreeRotation
fn clone(&self) -> TreeRotation
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TreeRotation
impl Debug for TreeRotation
Source§impl PartialEq for TreeRotation
impl PartialEq for TreeRotation
impl Copy for TreeRotation
impl Eq for TreeRotation
impl StructuralPartialEq for TreeRotation
Auto Trait Implementations§
impl Freeze for TreeRotation
impl RefUnwindSafe for TreeRotation
impl Send for TreeRotation
impl Sync for TreeRotation
impl Unpin for TreeRotation
impl UnwindSafe for TreeRotation
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)