pub struct CompositionPathGeometry(/* private fields */);Expand description
A geometry that shows a CompositionPath (WinUI
Microsoft.UI.Composition.CompositionPathGeometry).
Implementations§
Source§impl CompositionPathGeometry
impl CompositionPathGeometry
Sourcepub fn from_geometry(
geometry: &Rc<CompositionGeometry>,
) -> Option<CompositionPathGeometry>
pub fn from_geometry( geometry: &Rc<CompositionGeometry>, ) -> Option<CompositionPathGeometry>
The handle of geometry as a path geometry, if it is one.
Sourcepub fn geometry(&self) -> &Rc<CompositionGeometry>
pub fn geometry(&self) -> &Rc<CompositionGeometry>
The geometry as a CompositionGeometry.
Source§impl CompositionPathGeometry
impl CompositionPathGeometry
Sourcepub fn path(&self) -> Option<CompositionPath>
pub fn path(&self) -> Option<CompositionPath>
The path the geometry shows.
pub fn set_path(&self, value: Option<CompositionPath>)
Trait Implementations§
Source§impl Clone for CompositionPathGeometry
impl Clone for CompositionPathGeometry
Source§impl Deref for CompositionPathGeometry
impl Deref for CompositionPathGeometry
Source§type Target = Rc<CompositionGeometry>
type Target = Rc<CompositionGeometry>
The resulting type after dereferencing.
Source§fn deref(&self) -> &Rc<CompositionGeometry>
fn deref(&self) -> &Rc<CompositionGeometry>
Dereferences the value.
Auto Trait Implementations§
impl !RefUnwindSafe for CompositionPathGeometry
impl !Send for CompositionPathGeometry
impl !Sync for CompositionPathGeometry
impl !UnwindSafe for CompositionPathGeometry
impl Freeze for CompositionPathGeometry
impl Unpin for CompositionPathGeometry
impl UnsafeUnpin for CompositionPathGeometry
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more