enum VSet {
Union(Vec<VSet>),
Inter(Vec<VSet>),
Diff(Vec<VSet>),
Neg(Box<VSet>),
Item(ClassItem),
Strings(Vec<Vec<u32>>),
StrProp(StrProp),
}Expand description
v(unicodeSets)フラグ用の拡張文字クラス(コードポイントと文字列の集合演算)。
Variants§
Union(Vec<VSet>)
Inter(Vec<VSet>)
Diff(Vec<VSet>)
Neg(Box<VSet>)
Item(ClassItem)
Strings(Vec<Vec<u32>>)
StrProp(StrProp)
Implementations§
Source§impl VSet
impl VSet
fn max_len(&self) -> usize
fn can_empty(&self) -> bool
fn is_single_cp_only(&self) -> bool
fn matches_cp(&self, cp: u32, ignorecase: bool) -> bool
fn matches_slice(&self, slice: &[u32], ignorecase: bool) -> bool
fn matches_subject( &self, s: &Subject<'_>, sp: usize, len: usize, ignorecase: bool, ) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VSet
impl RefUnwindSafe for VSet
impl Send for VSet
impl Sync for VSet
impl Unpin for VSet
impl UnsafeUnpin for VSet
impl UnwindSafe for VSet
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