mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
build(deps): bump bitflags from 1.3.2 to 2.3.1 (#30273)
Bumps [bitflags](https://github.com/bitflags/bitflags) from 1.3.2 to 2.3.1. - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](https://github.com/bitflags/bitflags/compare/1.3.2...2.3.1)
This commit is contained in:
parent
6eb3e16578
commit
e9281e2eda
18 changed files with 110 additions and 113 deletions
|
@ -177,16 +177,17 @@ impl Font {
|
|||
}
|
||||
|
||||
bitflags! {
|
||||
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
|
||||
pub struct ShapingFlags: u8 {
|
||||
#[doc = "Set if the text is entirely whitespace."]
|
||||
/// Set if the text is entirely whitespace.
|
||||
const IS_WHITESPACE_SHAPING_FLAG = 0x01;
|
||||
#[doc = "Set if we are to ignore ligatures."]
|
||||
/// Set if we are to ignore ligatures.
|
||||
const IGNORE_LIGATURES_SHAPING_FLAG = 0x02;
|
||||
#[doc = "Set if we are to disable kerning."]
|
||||
/// Set if we are to disable kerning.
|
||||
const DISABLE_KERNING_SHAPING_FLAG = 0x04;
|
||||
#[doc = "Text direction is right-to-left."]
|
||||
/// Text direction is right-to-left.
|
||||
const RTL_FLAG = 0x08;
|
||||
#[doc = "Set if word-break is set to keep-all."]
|
||||
/// Set if word-break is set to keep-all.
|
||||
const KEEP_ALL_FLAG = 0x10;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue