pub struct PathFieldsOffsets {
pub elements: FieldOffset<Path, Property<PathData>, AllowPin>,
pub fill: FieldOffset<Path, Property<Brush>, AllowPin>,
pub fill_rule: FieldOffset<Path, Property<FillRule>, AllowPin>,
pub stroke: FieldOffset<Path, Property<Brush>, AllowPin>,
pub stroke_width: FieldOffset<Path, Property<LogicalLength>, AllowPin>,
pub viewbox_x: FieldOffset<Path, Property<f32>, AllowPin>,
pub viewbox_y: FieldOffset<Path, Property<f32>, AllowPin>,
pub viewbox_width: FieldOffset<Path, Property<f32>, AllowPin>,
pub viewbox_height: FieldOffset<Path, Property<f32>, AllowPin>,
pub clip: FieldOffset<Path, Property<bool>, AllowPin>,
pub cached_rendering_data: FieldOffset<Path, CachedRenderingData, AllowPin>,
}
Expand description
Helper struct containing the offsets of the fields of the struct Path
Generated from the #[derive(FieldOffsets)]
macro from the const-field-offset
crate
Fields§
§elements: FieldOffset<Path, Property<PathData>, AllowPin>
§fill: FieldOffset<Path, Property<Brush>, AllowPin>
§fill_rule: FieldOffset<Path, Property<FillRule>, AllowPin>
§stroke: FieldOffset<Path, Property<Brush>, AllowPin>
§stroke_width: FieldOffset<Path, Property<LogicalLength>, AllowPin>
§viewbox_x: FieldOffset<Path, Property<f32>, AllowPin>
§viewbox_y: FieldOffset<Path, Property<f32>, AllowPin>
§viewbox_width: FieldOffset<Path, Property<f32>, AllowPin>
§viewbox_height: FieldOffset<Path, Property<f32>, AllowPin>
§clip: FieldOffset<Path, Property<bool>, AllowPin>
§cached_rendering_data: FieldOffset<Path, CachedRenderingData, AllowPin>
Auto Trait Implementations§
impl Freeze for PathFieldsOffsets
impl !RefUnwindSafe for PathFieldsOffsets
impl Send for PathFieldsOffsets
impl !Sync for PathFieldsOffsets
impl !Unpin for PathFieldsOffsets
impl UnwindSafe for PathFieldsOffsets
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