#[repr(C)]pub struct Layout {
pub n_draw_objects: u32,
pub n_paths: u32,
pub n_clips: u32,
pub bin_data_start: u32,
pub path_tag_base: u32,
pub path_data_base: u32,
pub draw_tag_base: u32,
pub draw_data_base: u32,
pub transform_base: u32,
pub style_base: u32,
}Expand description
Layout of a packed encoding.
Fields§
§n_draw_objects: u32Number of draw objects.
n_paths: u32Number of paths.
n_clips: u32Number of clips.
bin_data_start: u32Start of binning data.
path_tag_base: u32Start of path tag stream.
path_data_base: u32Start of path data stream.
draw_tag_base: u32Start of draw tag stream.
draw_data_base: u32Start of draw data stream.
transform_base: u32Start of transform stream.
style_base: u32Start of style stream.
Implementations§
Trait Implementations§
impl Copy for Layout
impl Pod for Layout
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnwindSafe for Layout
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.