pub struct PathFieldsOffsets;Available on crate feature
path only.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
Implementations§
Source§impl PathFieldsOffsets
impl PathFieldsOffsets
pub const fn elements(self) -> FieldOffset<Path, Property<PathData>, AllowPin>
pub const fn fill(self) -> FieldOffset<Path, Property<Brush>, AllowPin>
pub const fn fill_rule(self) -> FieldOffset<Path, Property<FillRule>, AllowPin>
pub const fn stroke(self) -> FieldOffset<Path, Property<Brush>, AllowPin>
pub const fn stroke_width( self, ) -> FieldOffset<Path, Property<LogicalLength>, AllowPin>
pub const fn stroke_line_cap( self, ) -> FieldOffset<Path, Property<LineCap>, AllowPin>
pub const fn stroke_line_join( self, ) -> FieldOffset<Path, Property<LineJoin>, AllowPin>
pub const fn stroke_miter_limit( self, ) -> FieldOffset<Path, Property<f32>, AllowPin>
pub const fn viewbox_x(self) -> FieldOffset<Path, Property<f32>, AllowPin>
pub const fn viewbox_y(self) -> FieldOffset<Path, Property<f32>, AllowPin>
pub const fn viewbox_width(self) -> FieldOffset<Path, Property<f32>, AllowPin>
pub const fn viewbox_height(self) -> FieldOffset<Path, Property<f32>, AllowPin>
pub const fn fit(self) -> FieldOffset<Path, Property<ImageFit>, AllowPin>
pub const fn clip(self) -> FieldOffset<Path, Property<bool>, AllowPin>
pub const fn anti_alias(self) -> FieldOffset<Path, Property<bool>, AllowPin>
pub const fn cached_rendering_data( self, ) -> 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 UnsafeUnpin 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