pub struct LayoutEngine { /* private fields */ }Implementations§
Source§impl LayoutEngine
impl LayoutEngine
pub fn new() -> Self
pub fn layout_track_event_with_mode<P: FontProvider>( &self, track: &ParsedTrack, event_index: usize, provider: &P, shaping_mode: ShapingMode, ) -> RassaResult<LayoutEvent>
pub fn layout_track_event<P: FontProvider>( &self, track: &ParsedTrack, event_index: usize, provider: &P, ) -> RassaResult<LayoutEvent>
Trait Implementations§
Source§impl Default for LayoutEngine
impl Default for LayoutEngine
Source§fn default() -> LayoutEngine
fn default() -> LayoutEngine
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LayoutEngine
impl RefUnwindSafe for LayoutEngine
impl Send for LayoutEngine
impl Sync for LayoutEngine
impl Unpin for LayoutEngine
impl UnsafeUnpin for LayoutEngine
impl UnwindSafe for LayoutEngine
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