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 Default for ChromeCompositorSchedulerState
impl Default for ChromeCompositorSchedulerState
Source§fn default() -> ChromeCompositorSchedulerState
fn default() -> ChromeCompositorSchedulerState
Source§impl Message for ChromeCompositorSchedulerState
impl Message for ChromeCompositorSchedulerState
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
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 ==.impl StructuralPartialEq for ChromeCompositorSchedulerState
Auto Trait Implementations§
impl Freeze for ChromeCompositorSchedulerState
impl RefUnwindSafe for ChromeCompositorSchedulerState
impl Send for ChromeCompositorSchedulerState
impl Sync for ChromeCompositorSchedulerState
impl Unpin for ChromeCompositorSchedulerState
impl UnwindSafe for ChromeCompositorSchedulerState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].