Struct piet_direct2d::dwrite::DwriteFactory
source · pub struct DwriteFactory(_);
Expand description
This struct is public only to use for system integration in piet_common and druid-shell. It is not intended that end-users directly use this struct.
Implementations§
source§impl DwriteFactory
impl DwriteFactory
pub fn new() -> Result<DwriteFactory, Error>
pub fn get_raw(&self) -> *mut IDWriteFactory
sourcepub unsafe fn from_raw(raw: *mut IDWriteFactory) -> Self
pub unsafe fn from_raw(raw: *mut IDWriteFactory) -> Self
Trait Implementations§
source§impl Clone for DwriteFactory
impl Clone for DwriteFactory
source§fn clone(&self) -> DwriteFactory
fn clone(&self) -> DwriteFactory
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 Send for DwriteFactory
Auto Trait Implementations§
impl RefUnwindSafe for DwriteFactory
impl !Sync for DwriteFactory
impl Unpin for DwriteFactory
impl UnwindSafe for DwriteFactory
Blanket Implementations§
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.