[−][src]Struct rustybuzz::Feature
A feature tag with an accompanying range specifying on which subslice of
shape
s input it should be applied.
Fields
tag: Tag
value: u32
start: u32
end: u32
Implementations
impl Feature
[src]
pub fn new(tag: Tag, value: u32, range: impl RangeBounds<usize>) -> Feature
[src]
Create a new Feature
struct.
Trait Implementations
impl Clone for Feature
[src]
impl Copy for Feature
[src]
impl Debug for Feature
[src]
impl FromStr for Feature
[src]
type Err = &'static str
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
Parses a Feature
form a string.
Possible values:
kern
-> kern .. 1+kern
-> kern .. 1-kern
-> kern .. 0kern=0
-> kern .. 0kern=1
-> kern .. 1aalt=2
-> altr .. 2kern[]
-> kern .. 1kern[:]
-> kern .. 1kern[5:]
-> kern 5.. 1kern[:5]
-> kern ..=5 1kern[3:5]
-> kern 3..=5 1kern[3]
-> kern 3..=4 1aalt[3:5]=2
-> kern 3..=5 1
impl PartialEq<Feature> for Feature
[src]
impl StructuralPartialEq for Feature
[src]
Auto Trait Implementations
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,