Struct druid::piet::DwriteFactory
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§
§impl DwriteFactory
impl DwriteFactory
pub fn new() -> Result<DwriteFactory, Error>
pub fn get_raw(&self) -> *mut IDWriteFactory
pub unsafe fn from_raw(raw: *mut IDWriteFactory) -> DwriteFactory
pub unsafe fn from_raw(raw: *mut IDWriteFactory) -> DwriteFactory
Trait Implementations§
§impl Clone for DwriteFactory
impl Clone for DwriteFactory
§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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.