pub struct ChromeCompositorSchedulerState {Show 16 fields
pub state_machine: Option<ChromeCompositorStateMachine>,
pub observing_begin_frame_source: Option<bool>,
pub begin_impl_frame_deadline_task: Option<bool>,
pub pending_begin_frame_task: Option<bool>,
pub skipped_last_frame_missed_exceeded_deadline: Option<bool>,
pub inside_action: Option<i32>,
pub deadline_mode: Option<i32>,
pub deadline_us: Option<i64>,
pub deadline_scheduled_at_us: Option<i64>,
pub now_us: Option<i64>,
pub now_to_deadline_delta_us: Option<i64>,
pub now_to_deadline_scheduled_at_delta_us: Option<i64>,
pub begin_impl_frame_args: Option<BeginImplFrameArgs>,
pub begin_frame_observer_state: Option<BeginFrameObserverState>,
pub begin_frame_source_state: Option<BeginFrameSourceState>,
pub compositor_timing_history: Option<CompositorTimingHistory>,
}
Expand description
Next id: 18
Fields§
§state_machine: Option<ChromeCompositorStateMachine>
§observing_begin_frame_source: Option<bool>
§begin_impl_frame_deadline_task: Option<bool>
§pending_begin_frame_task: Option<bool>
§skipped_last_frame_missed_exceeded_deadline: Option<bool>
§inside_action: Option<i32>
§deadline_mode: Option<i32>
§deadline_us: Option<i64>
§deadline_scheduled_at_us: Option<i64>
§now_us: Option<i64>
§now_to_deadline_delta_us: Option<i64>
§now_to_deadline_scheduled_at_delta_us: Option<i64>
§begin_impl_frame_args: Option<BeginImplFrameArgs>
§begin_frame_observer_state: Option<BeginFrameObserverState>
§begin_frame_source_state: Option<BeginFrameSourceState>
§compositor_timing_history: Option<CompositorTimingHistory>
Implementations§
Source§impl ChromeCompositorSchedulerState
impl ChromeCompositorSchedulerState
Sourcepub fn observing_begin_frame_source(&self) -> bool
pub fn observing_begin_frame_source(&self) -> bool
Returns the value of observing_begin_frame_source
, or the default value if observing_begin_frame_source
is unset.
Sourcepub fn begin_impl_frame_deadline_task(&self) -> bool
pub fn begin_impl_frame_deadline_task(&self) -> bool
Returns the value of begin_impl_frame_deadline_task
, or the default value if begin_impl_frame_deadline_task
is unset.
Sourcepub fn pending_begin_frame_task(&self) -> bool
pub fn pending_begin_frame_task(&self) -> bool
Returns the value of pending_begin_frame_task
, or the default value if pending_begin_frame_task
is unset.
Sourcepub fn skipped_last_frame_missed_exceeded_deadline(&self) -> bool
pub fn skipped_last_frame_missed_exceeded_deadline(&self) -> bool
Returns the value of skipped_last_frame_missed_exceeded_deadline
, or the default value if skipped_last_frame_missed_exceeded_deadline
is unset.
Sourcepub fn inside_action(&self) -> ChromeCompositorSchedulerAction
pub fn inside_action(&self) -> ChromeCompositorSchedulerAction
Returns the enum value of inside_action
, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_inside_action(&mut self, value: ChromeCompositorSchedulerAction)
pub fn set_inside_action(&mut self, value: ChromeCompositorSchedulerAction)
Sets inside_action
to the provided enum value.
Sourcepub fn deadline_mode(&self) -> BeginImplFrameDeadlineMode
pub fn deadline_mode(&self) -> BeginImplFrameDeadlineMode
Returns the enum value of deadline_mode
, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_deadline_mode(&mut self, value: BeginImplFrameDeadlineMode)
pub fn set_deadline_mode(&mut self, value: BeginImplFrameDeadlineMode)
Sets deadline_mode
to the provided enum value.
Sourcepub fn deadline_us(&self) -> i64
pub fn deadline_us(&self) -> i64
Returns the value of deadline_us
, or the default value if deadline_us
is unset.
Sourcepub fn deadline_scheduled_at_us(&self) -> i64
pub fn deadline_scheduled_at_us(&self) -> i64
Returns the value of deadline_scheduled_at_us
, or the default value if deadline_scheduled_at_us
is unset.
Sourcepub fn now_us(&self) -> i64
pub fn now_us(&self) -> i64
Returns the value of now_us
, or the default value if now_us
is unset.
Sourcepub fn now_to_deadline_delta_us(&self) -> i64
pub fn now_to_deadline_delta_us(&self) -> i64
Returns the value of now_to_deadline_delta_us
, or the default value if now_to_deadline_delta_us
is unset.
Sourcepub fn now_to_deadline_scheduled_at_delta_us(&self) -> i64
pub fn now_to_deadline_scheduled_at_delta_us(&self) -> i64
Returns the value of now_to_deadline_scheduled_at_delta_us
, or the default value if now_to_deadline_scheduled_at_delta_us
is unset.
Trait Implementations§
Source§impl Clone for ChromeCompositorSchedulerState
impl Clone for ChromeCompositorSchedulerState
Source§fn clone(&self) -> ChromeCompositorSchedulerState
fn clone(&self) -> ChromeCompositorSchedulerState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Message for ChromeCompositorSchedulerState
impl Message for ChromeCompositorSchedulerState
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for ChromeCompositorSchedulerState
impl PartialEq for ChromeCompositorSchedulerState
Source§fn eq(&self, other: &ChromeCompositorSchedulerState) -> bool
fn eq(&self, other: &ChromeCompositorSchedulerState) -> bool
self
and other
values to be equal, and is used by ==
.