Struct swash::proxy::BitmapStrikesProxy
source · pub struct BitmapStrikesProxy { /* private fields */ }
Expand description
Proxy for rematerializing strike collections.
Implementations§
source§impl BitmapStrikesProxy
impl BitmapStrikesProxy
sourcepub fn from_font<'a>(font: &FontRef<'a>) -> Self
pub fn from_font<'a>(font: &FontRef<'a>) -> Self
Creates strike collection proxy from the specified font.
sourcepub fn materialize_alpha<'a>(&self, font: &FontRef<'a>) -> BitmapStrikes<'a> ⓘ
pub fn materialize_alpha<'a>(&self, font: &FontRef<'a>) -> BitmapStrikes<'a> ⓘ
Materializes an alpha strike iterator for the specified font. This proxy must have been created from the same font.
sourcepub fn materialize_color<'a>(&self, font: &FontRef<'a>) -> BitmapStrikes<'a> ⓘ
pub fn materialize_color<'a>(&self, font: &FontRef<'a>) -> BitmapStrikes<'a> ⓘ
Materializes a color strike iterator for the specified font. This proxy must have been created from the same font.
Trait Implementations§
source§impl Clone for BitmapStrikesProxy
impl Clone for BitmapStrikesProxy
source§fn clone(&self) -> BitmapStrikesProxy
fn clone(&self) -> BitmapStrikesProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for BitmapStrikesProxy
Auto Trait Implementations§
impl Freeze for BitmapStrikesProxy
impl RefUnwindSafe for BitmapStrikesProxy
impl Send for BitmapStrikesProxy
impl Sync for BitmapStrikesProxy
impl Unpin for BitmapStrikesProxy
impl UnwindSafe for BitmapStrikesProxy
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)