pub struct UnsizedNode<T>where
T: SizeMeasurable,{ /* private fields */ }Implementations§
Source§impl<T> UnsizedNode<T>
impl<T> UnsizedNode<T>
pub fn from_inner(inner: Vec<T>, length_capacity: usize) -> Self
Trait Implementations§
Source§impl<T> AsRef<[T]> for UnsizedNode<T>where
T: SizeMeasurable,
impl<T> AsRef<[T]> for UnsizedNode<T>where
T: SizeMeasurable,
Source§impl<T> Clone for UnsizedNode<T>where
T: SizeMeasurable + Clone,
impl<T> Clone for UnsizedNode<T>where
T: SizeMeasurable + Clone,
Source§fn clone(&self) -> UnsizedNode<T>
fn clone(&self) -> UnsizedNode<T>
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<T> Debug for UnsizedNode<T>where
T: SizeMeasurable + Debug,
impl<T> Debug for UnsizedNode<T>where
T: SizeMeasurable + Debug,
Source§impl<T> NodeLike<T> for UnsizedNode<T>
impl<T> NodeLike<T> for UnsizedNode<T>
fn with_capacity(capacity: usize) -> Self
fn get_ith(&self, index: usize) -> Option<&T>
fn halve(&mut self) -> Self
fn need_to_split(&self, _: usize) -> bool
fn len(&self) -> usize
fn capacity(&self) -> usize
fn insert(&mut self, value: T) -> (bool, usize)
fn contains<Q: Ord + ?Sized>(&self, value: &Q) -> boolwhere
T: Borrow<Q>,
fn try_select<Q: Ord + ?Sized>(&self, value: &Q) -> Option<usize>where
T: Borrow<Q>,
fn rank<Q: Ord + ?Sized>(
&self,
bound: Bound<&Q>,
from_start: bool,
) -> Option<usize>where
T: Borrow<Q>,
fn delete<Q: Ord + ?Sized>(&mut self, value: &Q) -> Option<(T, usize)>where
T: Borrow<Q>,
fn replace(&mut self, idx: usize, value: T) -> Option<T>
fn max(&self) -> Option<&T>
fn min(&self) -> Option<&T>
fn iter<'a>(&'a self) -> Iter<'a, T>where
T: 'a,
Auto Trait Implementations§
impl<T> Freeze for UnsizedNode<T>
impl<T> RefUnwindSafe for UnsizedNode<T>where
T: RefUnwindSafe,
impl<T> Send for UnsizedNode<T>where
T: Send,
impl<T> Sync for UnsizedNode<T>where
T: Sync,
impl<T> Unpin for UnsizedNode<T>where
T: Unpin,
impl<T> UnwindSafe for UnsizedNode<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.