pub struct AmbientLight(/* private fields */);Expand description
A light that lights every point of its targets alike (WinUI
Microsoft.UI.Composition.AmbientLight): Color times Intensity,
both animatable.
Implementations§
Source§impl AmbientLight
impl AmbientLight
Sourcepub fn from_light(light: &Rc<CompositionLight>) -> Option<AmbientLight>
pub fn from_light(light: &Rc<CompositionLight>) -> Option<AmbientLight>
The handle of light as this class, if it is one.
Sourcepub fn props(&self) -> &AmbientLightProps
pub fn props(&self) -> &AmbientLightProps
The generated properties of the class.
Trait Implementations§
Source§impl Clone for AmbientLight
impl Clone for AmbientLight
Source§impl Deref for AmbientLight
impl Deref for AmbientLight
Source§type Target = Rc<CompositionLight>
type Target = Rc<CompositionLight>
The resulting type after dereferencing.
Source§fn deref(&self) -> &Rc<CompositionLight>
fn deref(&self) -> &Rc<CompositionLight>
Dereferences the value.
Auto Trait Implementations§
impl !RefUnwindSafe for AmbientLight
impl !Send for AmbientLight
impl !Sync for AmbientLight
impl !UnwindSafe for AmbientLight
impl Freeze for AmbientLight
impl Unpin for AmbientLight
impl UnsafeUnpin for AmbientLight
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