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: u32
Unicode code point
position: usize
The position of the Unicode code point in the label
property: DerivedPropertyValue
The derived property value
Implementations§
source§impl 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§
source§impl Debug for CodepointInfo
impl Debug for CodepointInfo
source§impl Display for CodepointInfo
impl Display for CodepointInfo
source§impl PartialEq for CodepointInfo
impl PartialEq for CodepointInfo
impl Eq for CodepointInfo
impl StructuralPartialEq for CodepointInfo
Auto Trait Implementations§
impl Freeze for CodepointInfo
impl RefUnwindSafe for CodepointInfo
impl Send for CodepointInfo
impl Sync for CodepointInfo
impl Unpin for CodepointInfo
impl UnwindSafe for CodepointInfo
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