[−][src]Struct bogobble::partial::PosTree
Fields
start: Option<usize>
fin: Option<usize>
complete: bool
item: I
children: Vec<PosTree<I>>
Implementations
impl<I> PosTree<I>
[src]
pub fn new(start: Option<usize>, fin: Option<usize>, item: I) -> Self
[src]
pub fn incomplete(mut self: Self) -> Self
[src]
pub fn push(mut self: Self, b: Self) -> Self
[src]
pub fn on_str<'a>(&self, s: &'a str) -> &'a str
[src]
Grab str from reference between points panics if str not long enough
pub fn str_len(&self, s: &str) -> usize
[src]
pub fn find_at_end<F: Fn(&I) -> bool>(&self, s: &str, f: F) -> Option<&Self>
[src]
pub fn range(&self) -> Ranger
[src]
Trait Implementations
Auto Trait Implementations
impl<I> RefUnwindSafe for PosTree<I> where
I: RefUnwindSafe,
[src]
I: RefUnwindSafe,
impl<I> Send for PosTree<I> where
I: Send,
[src]
I: Send,
impl<I> Sync for PosTree<I> where
I: Sync,
[src]
I: Sync,
impl<I> Unpin for PosTree<I> where
I: Unpin,
[src]
I: Unpin,
impl<I> UnwindSafe for PosTree<I> where
I: UnwindSafe,
[src]
I: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,