pub struct ThermalDeviceInfo {
pub active_cooling: bool,
pub passive_cooling: bool,
pub gpu_throttling: bool,
pub num_trip_points: u32,
pub big_little: bool,
pub critical_temp_celsius: f32,
pub trip_point_info: [ThermalTemperatureInfo; 16],
pub opps: [OperatingPoint; 2],
}Fields§
§active_cooling: boolActive cooling support.
passive_cooling: boolPassive cooling support.
gpu_throttling: boolGPU throttling support.
num_trip_points: u32Number of trip points.
big_little: boolBig-little architecture.
critical_temp_celsius: f32Critical temperature in degrees Celsius.
trip_point_info: [ThermalTemperatureInfo; 16]Trip point information.
opps: [OperatingPoint; 2]Operating point information.
Trait Implementations§
Source§impl Clone for ThermalDeviceInfo
impl Clone for ThermalDeviceInfo
Source§fn clone(&self) -> ThermalDeviceInfo
fn clone(&self) -> ThermalDeviceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ThermalDeviceInfo
Source§impl Debug for ThermalDeviceInfo
impl Debug for ThermalDeviceInfo
Source§impl<D: ResourceDialect> Decode<ThermalDeviceInfo, D> for ThermalDeviceInfo
impl<D: ResourceDialect> Decode<ThermalDeviceInfo, D> for ThermalDeviceInfo
Source§impl<D: ResourceDialect> Encode<ThermalDeviceInfo, D> for &ThermalDeviceInfo
impl<D: ResourceDialect> Encode<ThermalDeviceInfo, D> for &ThermalDeviceInfo
Source§impl<D: ResourceDialect, T0: Encode<bool, D>, T1: Encode<bool, D>, T2: Encode<bool, D>, T3: Encode<u32, D>, T4: Encode<bool, D>, T5: Encode<f32, D>, T6: Encode<Array<ThermalTemperatureInfo, 16>, D>, T7: Encode<Array<OperatingPoint, 2>, D>> Encode<ThermalDeviceInfo, D> for (T0, T1, T2, T3, T4, T5, T6, T7)
impl<D: ResourceDialect, T0: Encode<bool, D>, T1: Encode<bool, D>, T2: Encode<bool, D>, T3: Encode<u32, D>, T4: Encode<bool, D>, T5: Encode<f32, D>, T6: Encode<Array<ThermalTemperatureInfo, 16>, D>, T7: Encode<Array<OperatingPoint, 2>, D>> Encode<ThermalDeviceInfo, D> for (T0, T1, T2, T3, T4, T5, T6, T7)
Source§impl PartialEq for ThermalDeviceInfo
impl PartialEq for ThermalDeviceInfo
Source§fn eq(&self, other: &ThermalDeviceInfo) -> bool
fn eq(&self, other: &ThermalDeviceInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ThermalDeviceInfo
impl PartialOrd for ThermalDeviceInfo
impl Persistable for ThermalDeviceInfo
Source§impl Serializable for ThermalDeviceInfo
impl Serializable for ThermalDeviceInfo
Source§const SERIALIZABLE_NAME: &'static str = "fuchsia.hardware.thermal.ThermalDeviceInfo"
const SERIALIZABLE_NAME: &'static str = "fuchsia.hardware.thermal.ThermalDeviceInfo"
The serialized name.
impl StructuralPartialEq for ThermalDeviceInfo
Source§impl TypeMarker for ThermalDeviceInfo
impl TypeMarker for ThermalDeviceInfo
Source§type Owned = ThermalDeviceInfo
type Owned = ThermalDeviceInfo
The owned Rust type which this FIDL type decodes into.
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.Source§impl ValueTypeMarker for ThermalDeviceInfo
impl ValueTypeMarker for ThermalDeviceInfo
Source§type Borrowed<'a> = &'a ThermalDeviceInfo
type Borrowed<'a> = &'a ThermalDeviceInfo
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreAuto Trait Implementations§
impl Freeze for ThermalDeviceInfo
impl RefUnwindSafe for ThermalDeviceInfo
impl Send for ThermalDeviceInfo
impl Sync for ThermalDeviceInfo
impl Unpin for ThermalDeviceInfo
impl UnsafeUnpin for ThermalDeviceInfo
impl UnwindSafe for ThermalDeviceInfo
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
Source§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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