pub struct Light { /* private fields */ }Expand description
Wraps the corresponding Model I/O light counterpart.
Implementations§
Source§impl Light
impl Light
Sourcepub fn new() -> Result<Self>
pub fn new() -> Result<Self>
Wraps the corresponding Model I/O initializer for the wrapped Model I/O light counterpart.
Sourcepub fn info(&self) -> Result<LightInfo>
pub fn info(&self) -> Result<LightInfo>
Calls the corresponding Model I/O method on the wrapped Model I/O light counterpart.
Sourcepub fn set_light_type(&self, light_type: LightType)
pub fn set_light_type(&self, light_type: LightType)
Calls the corresponding Model I/O method on the wrapped Model I/O light counterpart.
Sourcepub fn set_color_space(&self, color_space: &str) -> Result<()>
pub fn set_color_space(&self, color_space: &str) -> Result<()>
Calls the corresponding Model I/O method on the wrapped Model I/O light counterpart.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Light
impl RefUnwindSafe for Light
impl !Send for Light
impl !Sync for Light
impl Unpin for Light
impl UnsafeUnpin for Light
impl UnwindSafe for Light
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