[−][src]Struct kaiser::buffer::Buffer
Methods
impl Buffer
[src]
impl Buffer
pub fn new( | [src] |
pub fn len(&self) -> usize | [src] |
pub fn letter_frequencies(&self) -> [u32; 26] | [src] |
pub fn score(&self, method: ScoreMethod) -> Score | [src] |
pub fn set_stride(&mut self, stride: usize) | [src] |
pub fn stride(&self) -> usize | [src] |
pub fn set_offset(&mut self, offset: usize) | [src] |
pub fn offset(&self) -> usize | [src] |
pub fn original(&self) -> &str | [src] |
Trait Implementations
impl Clone for Buffer
[src]
impl Clone for Buffer
fn clone(&self) -> Buffer | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl<'_> From<&'_ str> for Buffer
[src]
impl<'_> From<&'_ str> for Buffer
impl<'_> From<&'_ String> for Buffer
[src]
impl<'_> From<&'_ String> for Buffer
impl<'a> IntoIterator for &'a Buffer
[src]
impl<'a> IntoIterator for &'a Buffer
type Item = &'a Char
The type of the elements being iterated over.
type IntoIter = StepBy<Skip<Iter<'a, Char>>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter | [src] |
impl<'a> IntoIterator for &'a mut Buffer
[src]
impl<'a> IntoIterator for &'a mut Buffer
type Item = &'a mut Char
The type of the elements being iterated over.
type IntoIter = StepBy<Skip<IterMut<'a, Char>>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter | [src] |
impl Display for Buffer
[src]
impl Display for Buffer
impl Debug for Buffer
[src]
impl Debug for Buffer
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |