#[repr(C, align(4))]pub struct utf8proc_property_struct {
pub category: utf8proc_propval_t,
pub combining_class: utf8proc_propval_t,
pub bidi_class: utf8proc_propval_t,
pub decomp_type: utf8proc_propval_t,
pub decomp_seqindex: utf8proc_uint16_t,
pub casefold_seqindex: utf8proc_uint16_t,
pub uppercase_seqindex: utf8proc_uint16_t,
pub lowercase_seqindex: utf8proc_uint16_t,
pub titlecase_seqindex: utf8proc_uint16_t,
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub __bindgen_padding_0: u16,
}Expand description
Struct containing information about a codepoint.
Fields§
§category: utf8proc_propval_tUnicode category. @see utf8proc_category_t.
combining_class: utf8proc_propval_t§bidi_class: utf8proc_propval_tBidirectional class. @see utf8proc_bidi_class_t.
decomp_type: utf8proc_propval_t@anchor Decomposition type. @see utf8proc_decomp_type_t.
decomp_seqindex: utf8proc_uint16_t§casefold_seqindex: utf8proc_uint16_t§uppercase_seqindex: utf8proc_uint16_t§lowercase_seqindex: utf8proc_uint16_t§titlecase_seqindex: utf8proc_uint16_t§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§__bindgen_padding_0: u16Implementations§
Source§impl utf8proc_property_struct
impl utf8proc_property_struct
pub fn comb_index(&self) -> utf8proc_uint16_t
pub fn set_comb_index(&mut self, val: utf8proc_uint16_t)
pub unsafe fn comb_index_raw(this: *const Self) -> utf8proc_uint16_t
pub unsafe fn set_comb_index_raw(this: *mut Self, val: utf8proc_uint16_t)
pub fn comb_length(&self) -> utf8proc_uint16_t
pub fn set_comb_length(&mut self, val: utf8proc_uint16_t)
pub unsafe fn comb_length_raw(this: *const Self) -> utf8proc_uint16_t
pub unsafe fn set_comb_length_raw(this: *mut Self, val: utf8proc_uint16_t)
pub fn comb_issecond(&self) -> utf8proc_uint16_t
pub fn set_comb_issecond(&mut self, val: utf8proc_uint16_t)
pub unsafe fn comb_issecond_raw(this: *const Self) -> utf8proc_uint16_t
pub unsafe fn set_comb_issecond_raw(this: *mut Self, val: utf8proc_uint16_t)
pub fn bidi_mirrored(&self) -> c_uint
pub fn set_bidi_mirrored(&mut self, val: c_uint)
pub unsafe fn bidi_mirrored_raw(this: *const Self) -> c_uint
pub unsafe fn set_bidi_mirrored_raw(this: *mut Self, val: c_uint)
pub fn comp_exclusion(&self) -> c_uint
pub fn set_comp_exclusion(&mut self, val: c_uint)
pub unsafe fn comp_exclusion_raw(this: *const Self) -> c_uint
pub unsafe fn set_comp_exclusion_raw(this: *mut Self, val: c_uint)
pub fn ignorable(&self) -> c_uint
pub fn set_ignorable(&mut self, val: c_uint)
pub unsafe fn ignorable_raw(this: *const Self) -> c_uint
pub unsafe fn set_ignorable_raw(this: *mut Self, val: c_uint)
pub fn control_boundary(&self) -> c_uint
pub fn set_control_boundary(&mut self, val: c_uint)
pub unsafe fn control_boundary_raw(this: *const Self) -> c_uint
pub unsafe fn set_control_boundary_raw(this: *mut Self, val: c_uint)
pub fn charwidth(&self) -> c_uint
pub fn set_charwidth(&mut self, val: c_uint)
pub unsafe fn charwidth_raw(this: *const Self) -> c_uint
pub unsafe fn set_charwidth_raw(this: *mut Self, val: c_uint)
pub fn ambiguous_width(&self) -> c_uint
pub fn set_ambiguous_width(&mut self, val: c_uint)
pub unsafe fn ambiguous_width_raw(this: *const Self) -> c_uint
pub unsafe fn set_ambiguous_width_raw(this: *mut Self, val: c_uint)
pub fn pad(&self) -> c_uint
pub fn set_pad(&mut self, val: c_uint)
pub unsafe fn pad_raw(this: *const Self) -> c_uint
pub unsafe fn set_pad_raw(this: *mut Self, val: c_uint)
pub fn boundclass(&self) -> c_uint
pub fn set_boundclass(&mut self, val: c_uint)
pub unsafe fn boundclass_raw(this: *const Self) -> c_uint
pub unsafe fn set_boundclass_raw(this: *mut Self, val: c_uint)
pub fn indic_conjunct_break(&self) -> c_uint
pub fn set_indic_conjunct_break(&mut self, val: c_uint)
pub unsafe fn indic_conjunct_break_raw(this: *const Self) -> c_uint
pub unsafe fn set_indic_conjunct_break_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( comb_index: utf8proc_uint16_t, comb_length: utf8proc_uint16_t, comb_issecond: utf8proc_uint16_t, bidi_mirrored: c_uint, comp_exclusion: c_uint, ignorable: c_uint, control_boundary: c_uint, charwidth: c_uint, ambiguous_width: c_uint, pad: c_uint, boundclass: c_uint, indic_conjunct_break: c_uint, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for utf8proc_property_struct
impl Clone for utf8proc_property_struct
Source§fn clone(&self) -> utf8proc_property_struct
fn clone(&self) -> utf8proc_property_struct
Returns a duplicate 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 utf8proc_property_struct
impl Debug for utf8proc_property_struct
impl Copy for utf8proc_property_struct
Auto Trait Implementations§
impl Freeze for utf8proc_property_struct
impl RefUnwindSafe for utf8proc_property_struct
impl Send for utf8proc_property_struct
impl Sync for utf8proc_property_struct
impl Unpin for utf8proc_property_struct
impl UnwindSafe for utf8proc_property_struct
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