Struct Ligature
pub struct Ligature<'a> {
pub successor: Cow<'a, str>,
pub ligature: Cow<'a, str>,
}Expand description
One L successor ligature rule. Every rule on a character is retained in order.
Fields§
§successor: Cow<'a, str>Name of the following glyph.
ligature: Cow<'a, str>Name of the resulting ligature glyph.
Implementations§
§impl Ligature<'_>
impl Ligature<'_>
pub fn into_owned(self) -> Ligature<'static>
pub fn into_owned(self) -> Ligature<'static>
Detach both glyph names from their source.
Trait Implementations§
impl<'a> Eq for Ligature<'a>
impl<'a> StructuralPartialEq for Ligature<'a>
Auto Trait Implementations§
impl<'a> Freeze for Ligature<'a>
impl<'a> RefUnwindSafe for Ligature<'a>
impl<'a> Send for Ligature<'a>
impl<'a> Sync for Ligature<'a>
impl<'a> Unpin for Ligature<'a>
impl<'a> UnsafeUnpin for Ligature<'a>
impl<'a> UnwindSafe for Ligature<'a>
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