Struct pdf::object::PatternDict
source · pub struct PatternDict {
pub paint_type: Option<i32>,
pub tiling_type: Option<i32>,
pub bbox: Rect,
pub x_step: f32,
pub y_step: f32,
pub resources: Ref<Resources>,
pub matrix: Option<Matrix>,
}
Fields§
§paint_type: Option<i32>
§tiling_type: Option<i32>
§bbox: Rect
§x_step: f32
§y_step: f32
§resources: Ref<Resources>
§matrix: Option<Matrix>
Trait Implementations§
source§impl Clone for PatternDict
impl Clone for PatternDict
source§fn clone(&self) -> PatternDict
fn clone(&self) -> PatternDict
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 moresource§impl DataSize for PatternDict
impl DataSize for PatternDict
source§const IS_DYNAMIC: bool = false
const IS_DYNAMIC: bool = false
If
true
, the type has a heap size that can vary at runtime, depending on the actual value.source§const STATIC_HEAP_SIZE: usize = 0usize
const STATIC_HEAP_SIZE: usize = 0usize
The amount of space a value of the type always occupies. If
IS_DYNAMIC
is false, this is
the total amount of heap memory occupied by the value. Otherwise this is a lower bound.source§fn estimate_heap_size(&self) -> usize
fn estimate_heap_size(&self) -> usize
Estimates the size of heap memory taken up by this value. Read more
source§impl Debug for PatternDict
impl Debug for PatternDict
source§impl DeepClone for PatternDict
impl DeepClone for PatternDict
fn deep_clone(&self, cloner: &mut impl Cloner) -> Result<Self>
source§impl FromDict for PatternDict
impl FromDict for PatternDict
source§impl Object for PatternDict
impl Object for PatternDict
source§impl ObjectWrite for PatternDict
impl ObjectWrite for PatternDict
source§impl ToDict for PatternDict
impl ToDict for PatternDict
Auto Trait Implementations§
impl RefUnwindSafe for PatternDict
impl Send for PatternDict
impl Sync for PatternDict
impl Unpin for PatternDict
impl UnwindSafe for PatternDict
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