pub struct ClipPathShape { /* private fields */ }Expand description
Dart’s ClipPath.shape(..) before its optional arguments are known: a Builder that
clips to a ShapeBorder resolved against the ambient Directionality.
Implementations§
Source§impl ClipPathShape
impl ClipPathShape
Sourcepub fn key(self, key: KeyRef) -> ClipPathShape
pub fn key(self, key: KeyRef) -> ClipPathShape
Dart ClipPath.shape(key:).
Sourcepub fn clip_behavior(self, clip_behavior: Clip) -> ClipPathShape
pub fn clip_behavior(self, clip_behavior: Clip) -> ClipPathShape
Dart ClipPath.shape(clipBehavior:).
Sourcepub fn child<K>(self, child: impl IntoWidget<K>) -> ClipPathShape
pub fn child<K>(self, child: impl IntoWidget<K>) -> ClipPathShape
Dart ClipPath.shape(child:).
Trait Implementations§
Source§impl IntoWidget<ClipPathShapeKind> for ClipPathShape
impl IntoWidget<ClipPathShapeKind> for ClipPathShape
Source§fn into_widget(self) -> WidgetRef
fn into_widget(self) -> WidgetRef
The widget as a tree node, made where this is called: its
creation_location.Auto Trait Implementations§
impl !RefUnwindSafe for ClipPathShape
impl !Send for ClipPathShape
impl !Sync for ClipPathShape
impl !UnwindSafe for ClipPathShape
impl Forget for ClipPathShape
impl Freeze for ClipPathShapewhere
*const RcInner<dyn Key> is !null: Freeze,
PhantomData<RcInner<dyn Key>>: Freeze,
*const RcInner<dyn ShapeBorder> is !null: Freeze,
PhantomData<RcInner<dyn ShapeBorder>>: Freeze,
*const RcInner<dyn Widget> is !null: Freeze,
PhantomData<RcInner<dyn Widget>>: Freeze,
impl Move for ClipPathShape
impl Unpin for ClipPathShape
impl UnsafeUnpin for ClipPathShapewhere
*const RcInner<dyn Key> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Key>>: UnsafeUnpin,
*const RcInner<dyn ShapeBorder> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn ShapeBorder>>: UnsafeUnpin,
*const RcInner<dyn Widget> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Widget>>: UnsafeUnpin,
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