pub struct CompositionLineGeometry(/* private fields */);Expand description
A line (WinUI Microsoft.UI.Composition.CompositionLineGeometry) from
start to end, both animatable (Start, End).
Implementations§
Source§impl CompositionLineGeometry
impl CompositionLineGeometry
Sourcepub fn from_geometry(
geometry: &Rc<CompositionGeometry>,
) -> Option<CompositionLineGeometry>
pub fn from_geometry( geometry: &Rc<CompositionGeometry>, ) -> Option<CompositionLineGeometry>
The handle of geometry as a line geometry, if it is one.
Sourcepub fn geometry(&self) -> &Rc<CompositionGeometry>
pub fn geometry(&self) -> &Rc<CompositionGeometry>
The geometry as a CompositionGeometry.
Trait Implementations§
Source§impl Clone for CompositionLineGeometry
impl Clone for CompositionLineGeometry
Source§impl Deref for CompositionLineGeometry
impl Deref for CompositionLineGeometry
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 CompositionLineGeometry
impl !Send for CompositionLineGeometry
impl !Sync for CompositionLineGeometry
impl !UnwindSafe for CompositionLineGeometry
impl Freeze for CompositionLineGeometry
impl Unpin for CompositionLineGeometry
impl UnsafeUnpin for CompositionLineGeometry
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