pub struct ShapingFeature {
pub end: u32,
pub start: u32,
pub tag: OpenTypeTag,
pub value: u32,
}Expand description
HarfBuzz-compatible feature range over half-open UTF-8 byte offsets.
Non-global endpoints are UTF-8 code-point boundaries. A global range is
start=0 and end=4294967295. HarfRust receives these values unchanged after
UnicodeBuffer::push_str assigns char_indices clusters.
Fields§
§end: u32§start: u32§tag: OpenTypeTag§value: u32Trait Implementations§
Source§impl Clone for ShapingFeature
impl Clone for ShapingFeature
Source§fn clone(&self) -> ShapingFeature
fn clone(&self) -> ShapingFeature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ShapingFeature
impl Debug for ShapingFeature
Source§impl<'de> Deserialize<'de> for ShapingFeature
impl<'de> Deserialize<'de> for ShapingFeature
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ShapingFeature
impl PartialEq for ShapingFeature
Source§impl Serialize for ShapingFeature
impl Serialize for ShapingFeature
impl StructuralPartialEq for ShapingFeature
Auto Trait Implementations§
impl Freeze for ShapingFeature
impl RefUnwindSafe for ShapingFeature
impl Send for ShapingFeature
impl Sync for ShapingFeature
impl Unpin for ShapingFeature
impl UnsafeUnpin for ShapingFeature
impl UnwindSafe for ShapingFeature
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