pub struct ScriptData { /* private fields */ }Expand description
Implementer of CombiningClassFunc using dynamically loaded Unicode data.
Can be passed to the harfbuzz crate’s AllUnicodeFuncsBuilder.
Implementations§
Source§impl ScriptData
impl ScriptData
Sourcepub fn try_new_unstable<D>(provider: &D) -> Result<Self, DataError>
pub fn try_new_unstable<D>(provider: &D) -> Result<Self, DataError>
Construct a new ScriptData from a data provider.
Sourcepub fn try_new_with_buffer_provider(
provider: &(impl BufferProvider + ?Sized),
) -> Result<Self, DataError>
pub fn try_new_with_buffer_provider( provider: &(impl BufferProvider + ?Sized), ) -> Result<Self, DataError>
A version of Self::try_new_unstable that uses custom data provided by a BufferProvider.
✨ Enabled with the serde feature.
Trait Implementations§
Source§impl Debug for ScriptData
impl Debug for ScriptData
Source§impl ScriptFunc for ScriptData
impl ScriptFunc for ScriptData
Auto Trait Implementations§
impl Freeze for ScriptData
impl RefUnwindSafe for ScriptData
impl Send for ScriptData
impl Sync for ScriptData
impl Unpin for ScriptData
impl UnwindSafe for ScriptData
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