Struct zerotrie::cursor::AsciiProbeResult
source · #[non_exhaustive]pub struct AsciiProbeResult {
pub byte: u8,
pub total_siblings: u8,
}
Expand description
Information about a probed edge.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.byte: u8
The character’s byte value between this node and its parent.
total_siblings: u8
The number of siblings of this node, including itself.
Trait Implementations§
source§impl Clone for AsciiProbeResult
impl Clone for AsciiProbeResult
source§fn clone(&self) -> AsciiProbeResult
fn clone(&self) -> AsciiProbeResult
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 Debug for AsciiProbeResult
impl Debug for AsciiProbeResult
source§impl PartialEq for AsciiProbeResult
impl PartialEq for AsciiProbeResult
source§fn eq(&self, other: &AsciiProbeResult) -> bool
fn eq(&self, other: &AsciiProbeResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AsciiProbeResult
impl Eq for AsciiProbeResult
impl StructuralPartialEq for AsciiProbeResult
Auto Trait Implementations§
impl Freeze for AsciiProbeResult
impl RefUnwindSafe for AsciiProbeResult
impl Send for AsciiProbeResult
impl Sync for AsciiProbeResult
impl Unpin for AsciiProbeResult
impl UnwindSafe for AsciiProbeResult
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