pub struct MajorState {
pub next_action: Option<i32>,
pub begin_impl_frame_state: Option<i32>,
pub begin_main_frame_state: Option<i32>,
pub layer_tree_frame_sink_state: Option<i32>,
pub forced_redraw_state: Option<i32>,
}Expand description
Next id: 6
Fields§
§next_action: Option<i32>§begin_impl_frame_state: Option<i32>§begin_main_frame_state: Option<i32>§layer_tree_frame_sink_state: Option<i32>§forced_redraw_state: Option<i32>Implementations§
Source§impl MajorState
impl MajorState
Sourcepub fn next_action(&self) -> ChromeCompositorSchedulerAction
pub fn next_action(&self) -> ChromeCompositorSchedulerAction
Returns the enum value of next_action, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_next_action(&mut self, value: ChromeCompositorSchedulerAction)
pub fn set_next_action(&mut self, value: ChromeCompositorSchedulerAction)
Sets next_action to the provided enum value.
Sourcepub fn begin_impl_frame_state(&self) -> BeginImplFrameState
pub fn begin_impl_frame_state(&self) -> BeginImplFrameState
Returns the enum value of begin_impl_frame_state, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_begin_impl_frame_state(&mut self, value: BeginImplFrameState)
pub fn set_begin_impl_frame_state(&mut self, value: BeginImplFrameState)
Sets begin_impl_frame_state to the provided enum value.
Sourcepub fn begin_main_frame_state(&self) -> BeginMainFrameState
pub fn begin_main_frame_state(&self) -> BeginMainFrameState
Returns the enum value of begin_main_frame_state, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_begin_main_frame_state(&mut self, value: BeginMainFrameState)
pub fn set_begin_main_frame_state(&mut self, value: BeginMainFrameState)
Sets begin_main_frame_state to the provided enum value.
Sourcepub fn layer_tree_frame_sink_state(&self) -> LayerTreeFrameSinkState
pub fn layer_tree_frame_sink_state(&self) -> LayerTreeFrameSinkState
Returns the enum value of layer_tree_frame_sink_state, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_layer_tree_frame_sink_state(
&mut self,
value: LayerTreeFrameSinkState,
)
pub fn set_layer_tree_frame_sink_state( &mut self, value: LayerTreeFrameSinkState, )
Sets layer_tree_frame_sink_state to the provided enum value.
Sourcepub fn forced_redraw_state(&self) -> ForcedRedrawOnTimeoutState
pub fn forced_redraw_state(&self) -> ForcedRedrawOnTimeoutState
Returns the enum value of forced_redraw_state, or the default if the field is unset or set to an invalid enum value.
Sourcepub fn set_forced_redraw_state(&mut self, value: ForcedRedrawOnTimeoutState)
pub fn set_forced_redraw_state(&mut self, value: ForcedRedrawOnTimeoutState)
Sets forced_redraw_state to the provided enum value.
Trait Implementations§
Source§impl Clone for MajorState
impl Clone for MajorState
Source§fn clone(&self) -> MajorState
fn clone(&self) -> MajorState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MajorState
impl Debug for MajorState
Source§impl Default for MajorState
impl Default for MajorState
Source§fn default() -> MajorState
fn default() -> MajorState
Source§impl Message for MajorState
impl Message for MajorState
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 MajorState
impl PartialEq for MajorState
impl Copy for MajorState
impl StructuralPartialEq for MajorState
Auto Trait Implementations§
impl Freeze for MajorState
impl RefUnwindSafe for MajorState
impl Send for MajorState
impl Sync for MajorState
impl Unpin for MajorState
impl UnwindSafe for MajorState
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].