Struct precis_core::CodepointInfo
source · [−]pub struct CodepointInfo {
pub cp: u32,
pub position: usize,
pub property: DerivedPropertyValue,
}Expand description
Error that contains information regarding the wrong Unicode code point
Fields
cp: u32Unicode code point
position: usizeThe position of the Unicode code point in the label
property: DerivedPropertyValueThe derived property value
Implementations
sourceimpl CodepointInfo
impl CodepointInfo
sourcepub fn new(cp: u32, position: usize, property: DerivedPropertyValue) -> Self
pub fn new(cp: u32, position: usize, property: DerivedPropertyValue) -> Self
Creates a new CodepointInfo struct
Trait Implementations
sourceimpl Debug for CodepointInfo
impl Debug for CodepointInfo
sourceimpl Display for CodepointInfo
impl Display for CodepointInfo
sourceimpl PartialEq<CodepointInfo> for CodepointInfo
impl PartialEq<CodepointInfo> for CodepointInfo
sourcefn eq(&self, other: &CodepointInfo) -> bool
fn eq(&self, other: &CodepointInfo) -> bool
impl Eq for CodepointInfo
impl StructuralEq for CodepointInfo
impl StructuralPartialEq for CodepointInfo
Auto Trait Implementations
impl RefUnwindSafe for CodepointInfo
impl Send for CodepointInfo
impl Sync for CodepointInfo
impl Unpin for CodepointInfo
impl UnwindSafe for CodepointInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more