#[repr(C, packed(1))]pub struct PsGMMGain {
pub gain: u16,
pub option: u8,
}Expand description
@brief Specifies the GMMGain including the gain value and option type.
Fields§
§gain: u16!< The GMM gain value of the device.
option: u8!< The option type of setting the GMM gain effective time. 0:Immediate effect, invalid after camera closure; 1:Permanent entry into force.
Trait Implementations§
impl Copy for PsGMMGain
Auto Trait Implementations§
impl Freeze for PsGMMGain
impl RefUnwindSafe for PsGMMGain
impl Send for PsGMMGain
impl Sync for PsGMMGain
impl Unpin for PsGMMGain
impl UnwindSafe for PsGMMGain
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)