Struct piet_common::Device
source · pub struct Device { /* private fields */ }
Expand description
A struct that can be used to create bitmap render contexts.
In the case of Cairo, being a software renderer, no state is needed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Device
impl !Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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.