Struct general_sam::utils::rope::RopeUntaggedInner
source · pub struct RopeUntaggedInner<T: Clone>(/* private fields */);Available on crate feature
utils only.Implementations§
source§impl<T: Clone> RopeUntaggedInner<T>
impl<T: Clone> RopeUntaggedInner<T>
pub fn into_inner(self) -> T
Trait Implementations§
source§impl<T: Clone + Clone> Clone for RopeUntaggedInner<T>
impl<T: Clone + Clone> Clone for RopeUntaggedInner<T>
source§fn clone(&self) -> RopeUntaggedInner<T>
fn clone(&self) -> RopeUntaggedInner<T>
Returns a copy 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: Default + Clone> Default for RopeUntaggedInner<T>
impl<T: Default + Clone> Default for RopeUntaggedInner<T>
source§fn default() -> RopeUntaggedInner<T>
fn default() -> RopeUntaggedInner<T>
Returns the “default value” for a type. Read more
source§impl<T: Clone> Deref for RopeUntaggedInner<T>
impl<T: Clone> Deref for RopeUntaggedInner<T>
source§impl<T: Clone> From<T> for RopeUntaggedInner<T>
impl<T: Clone> From<T> for RopeUntaggedInner<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for RopeUntaggedInner<T>where
T: RefUnwindSafe,
impl<T> Send for RopeUntaggedInner<T>where
T: Send,
impl<T> Sync for RopeUntaggedInner<T>where
T: Sync,
impl<T> Unpin for RopeUntaggedInner<T>where
T: Unpin,
impl<T> UnwindSafe for RopeUntaggedInner<T>where
T: UnwindSafe,
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
source§impl<InnerRopeData, TreapBasedRope> RopeBase for TreapBasedRopewhere
InnerRopeData: RopeData,
TreapBasedRope: From<TreapTree<RopeTreapData<InnerRopeData>>> + Deref<Target = TreapTree<RopeTreapData<InnerRopeData>>> + Clone,
impl<InnerRopeData, TreapBasedRope> RopeBase for TreapBasedRopewhere
InnerRopeData: RopeData,
TreapBasedRope: From<TreapTree<RopeTreapData<InnerRopeData>>> + Deref<Target = TreapTree<RopeTreapData<InnerRopeData>>> + Clone,
§type InnerRopeData = InnerRopeData
type InnerRopeData = InnerRopeData
Available on crate feature
utils only.source§fn new(data: <TreapBasedRope as RopeBase>::InnerRopeData) -> TreapBasedRope
fn new(data: <TreapBasedRope as RopeBase>::InnerRopeData) -> TreapBasedRope
Available on crate feature
utils only.source§fn split(&self, num: usize) -> (TreapBasedRope, TreapBasedRope)
fn split(&self, num: usize) -> (TreapBasedRope, TreapBasedRope)
Available on crate feature
utils only.source§fn merge(&self, other: &TreapBasedRope) -> TreapBasedRope
fn merge(&self, other: &TreapBasedRope) -> TreapBasedRope
Available on crate feature
utils only.source§fn root_data_ref(&self) -> Option<&<TreapBasedRope as RopeBase>::InnerRopeData>
fn root_data_ref(&self) -> Option<&<TreapBasedRope as RopeBase>::InnerRopeData>
Available on crate feature
utils only.source§fn add_tag(
&self,
tag: <<TreapBasedRope as RopeBase>::InnerRopeData as RopeData>::TagType
) -> TreapBasedRope
fn add_tag( &self, tag: <<TreapBasedRope as RopeBase>::InnerRopeData as RopeData>::TagType ) -> TreapBasedRope
Available on crate feature
utils only.source§fn insert(&self, pos: usize, data: Self::InnerRopeData) -> Self
fn insert(&self, pos: usize, data: Self::InnerRopeData) -> Self
Available on crate feature
utils only.source§fn remove(&self, pos: usize) -> (Self, Option<Self::InnerRopeData>)
fn remove(&self, pos: usize) -> (Self, Option<Self::InnerRopeData>)
Available on crate feature
utils only.source§fn push_back(&self, data: Self::InnerRopeData) -> Self
fn push_back(&self, data: Self::InnerRopeData) -> Self
Available on crate feature
utils only.source§fn push_front(&self, data: Self::InnerRopeData) -> Self
fn push_front(&self, data: Self::InnerRopeData) -> Self
Available on crate feature
utils only.source§impl<InnerRopeData, TreapBasedRope> TreapBasedRopeBase for TreapBasedRopewhere
InnerRopeData: RopeData,
TreapBasedRope: From<TreapTree<RopeTreapData<InnerRopeData>>> + Deref<Target = TreapTree<RopeTreapData<InnerRopeData>>> + Clone,
impl<InnerRopeData, TreapBasedRope> TreapBasedRopeBase for TreapBasedRopewhere
InnerRopeData: RopeData,
TreapBasedRope: From<TreapTree<RopeTreapData<InnerRopeData>>> + Deref<Target = TreapTree<RopeTreapData<InnerRopeData>>> + Clone,
source§fn new_from_rng<R: FnMut() -> usize>(data: Self::InnerRopeData, rng: R) -> Self
fn new_from_rng<R: FnMut() -> usize>(data: Self::InnerRopeData, rng: R) -> Self
Available on crate feature
utils only.source§fn insert_from_rng<R: FnMut() -> usize>(
&self,
pos: usize,
data: Self::InnerRopeData,
rng: R
) -> Self
fn insert_from_rng<R: FnMut() -> usize>( &self, pos: usize, data: Self::InnerRopeData, rng: R ) -> Self
Available on crate feature
utils only.source§fn push_back_from_rng<R: FnMut() -> usize>(
&self,
data: Self::InnerRopeData,
rng: R
) -> Self
fn push_back_from_rng<R: FnMut() -> usize>( &self, data: Self::InnerRopeData, rng: R ) -> Self
Available on crate feature
utils only.source§fn push_front_from_rng<R: FnMut() -> usize>(
&self,
data: Self::InnerRopeData,
rng: R
) -> Self
fn push_front_from_rng<R: FnMut() -> usize>( &self, data: Self::InnerRopeData, rng: R ) -> Self
Available on crate feature
utils only.source§fn query(
&self,
pos: usize
) -> Option<Cow<'_, RopeTreapData<Self::InnerRopeData>>>
fn query( &self, pos: usize ) -> Option<Cow<'_, RopeTreapData<Self::InnerRopeData>>>
Available on crate feature
utils only.