Skip to main content

MinorState

pub struct MinorState {
Show 45 fields pub commit_count: Option<i32>, pub current_frame_number: Option<i32>, pub last_frame_number_submit_performed: Option<i32>, pub last_frame_number_draw_performed: Option<i32>, pub last_frame_number_begin_main_frame_sent: Option<i32>, pub did_draw: Option<bool>, pub did_send_begin_main_frame_for_current_frame: Option<bool>, pub did_notify_begin_main_frame_not_expected_until: Option<bool>, pub did_notify_begin_main_frame_not_expected_soon: Option<bool>, pub wants_begin_main_frame_not_expected: Option<bool>, pub did_commit_during_frame: Option<bool>, pub did_invalidate_layer_tree_frame_sink: Option<bool>, pub did_perform_impl_side_invalidaion: Option<bool>, pub did_prepare_tiles: Option<bool>, pub consecutive_checkerboard_animations: Option<i32>, pub pending_submit_frames: Option<i32>, pub submit_frames_with_current_layer_tree_frame_sink: Option<i32>, pub needs_redraw: Option<bool>, pub needs_prepare_tiles: Option<bool>, pub needs_begin_main_frame: Option<bool>, pub needs_one_begin_impl_frame: Option<bool>, pub visible: Option<bool>, pub begin_frame_source_paused: Option<bool>, pub can_draw: Option<bool>, pub resourceless_draw: Option<bool>, pub has_pending_tree: Option<bool>, pub pending_tree_is_ready_for_activation: Option<bool>, pub active_tree_needs_first_draw: Option<bool>, pub active_tree_is_ready_to_draw: Option<bool>, pub did_create_and_initialize_first_layer_tree_frame_sink: Option<bool>, pub tree_priority: Option<i32>, pub scroll_handler_state: Option<i32>, pub critical_begin_main_frame_to_activate_is_fast: Option<bool>, pub main_thread_missed_last_deadline: Option<bool>, pub video_needs_begin_frames: Option<bool>, pub defer_begin_main_frame: Option<bool>, pub last_commit_had_no_updates: Option<bool>, pub did_draw_in_last_frame: Option<bool>, pub did_submit_in_last_frame: Option<bool>, pub needs_impl_side_invalidation: Option<bool>, pub current_pending_tree_is_impl_side: Option<bool>, pub previous_pending_tree_was_impl_side: Option<bool>, pub processing_animation_worklets_for_active_tree: Option<bool>, pub processing_animation_worklets_for_pending_tree: Option<bool>, pub processing_paint_worklets_for_pending_tree: Option<bool>,
}
Expand description

Next id: 47

Fields§

§commit_count: Option<i32>§current_frame_number: Option<i32>§last_frame_number_submit_performed: Option<i32>§last_frame_number_draw_performed: Option<i32>§last_frame_number_begin_main_frame_sent: Option<i32>§did_draw: Option<bool>§did_send_begin_main_frame_for_current_frame: Option<bool>§did_notify_begin_main_frame_not_expected_until: Option<bool>§did_notify_begin_main_frame_not_expected_soon: Option<bool>§wants_begin_main_frame_not_expected: Option<bool>§did_commit_during_frame: Option<bool>§did_invalidate_layer_tree_frame_sink: Option<bool>§did_perform_impl_side_invalidaion: Option<bool>§did_prepare_tiles: Option<bool>§consecutive_checkerboard_animations: Option<i32>§pending_submit_frames: Option<i32>§submit_frames_with_current_layer_tree_frame_sink: Option<i32>§needs_redraw: Option<bool>§needs_prepare_tiles: Option<bool>§needs_begin_main_frame: Option<bool>§needs_one_begin_impl_frame: Option<bool>§visible: Option<bool>§begin_frame_source_paused: Option<bool>§can_draw: Option<bool>§resourceless_draw: Option<bool>§has_pending_tree: Option<bool>§pending_tree_is_ready_for_activation: Option<bool>§active_tree_needs_first_draw: Option<bool>§active_tree_is_ready_to_draw: Option<bool>§did_create_and_initialize_first_layer_tree_frame_sink: Option<bool>§tree_priority: Option<i32>§scroll_handler_state: Option<i32>§critical_begin_main_frame_to_activate_is_fast: Option<bool>§main_thread_missed_last_deadline: Option<bool>§video_needs_begin_frames: Option<bool>§defer_begin_main_frame: Option<bool>§last_commit_had_no_updates: Option<bool>§did_draw_in_last_frame: Option<bool>§did_submit_in_last_frame: Option<bool>§needs_impl_side_invalidation: Option<bool>§current_pending_tree_is_impl_side: Option<bool>§previous_pending_tree_was_impl_side: Option<bool>§processing_animation_worklets_for_active_tree: Option<bool>§processing_animation_worklets_for_pending_tree: Option<bool>§processing_paint_worklets_for_pending_tree: Option<bool>

Implementations§

Source§

impl MinorState

Source

pub fn commit_count(&self) -> i32

Returns the value of commit_count, or the default value if commit_count is unset.

Source

pub fn current_frame_number(&self) -> i32

Returns the value of current_frame_number, or the default value if current_frame_number is unset.

Source

pub fn last_frame_number_submit_performed(&self) -> i32

Returns the value of last_frame_number_submit_performed, or the default value if last_frame_number_submit_performed is unset.

Source

pub fn last_frame_number_draw_performed(&self) -> i32

Returns the value of last_frame_number_draw_performed, or the default value if last_frame_number_draw_performed is unset.

Source

pub fn last_frame_number_begin_main_frame_sent(&self) -> i32

Returns the value of last_frame_number_begin_main_frame_sent, or the default value if last_frame_number_begin_main_frame_sent is unset.

Source

pub fn did_draw(&self) -> bool

Returns the value of did_draw, or the default value if did_draw is unset.

Source

pub fn did_send_begin_main_frame_for_current_frame(&self) -> bool

Returns the value of did_send_begin_main_frame_for_current_frame, or the default value if did_send_begin_main_frame_for_current_frame is unset.

Source

pub fn did_notify_begin_main_frame_not_expected_until(&self) -> bool

Returns the value of did_notify_begin_main_frame_not_expected_until, or the default value if did_notify_begin_main_frame_not_expected_until is unset.

Source

pub fn did_notify_begin_main_frame_not_expected_soon(&self) -> bool

Returns the value of did_notify_begin_main_frame_not_expected_soon, or the default value if did_notify_begin_main_frame_not_expected_soon is unset.

Source

pub fn wants_begin_main_frame_not_expected(&self) -> bool

Returns the value of wants_begin_main_frame_not_expected, or the default value if wants_begin_main_frame_not_expected is unset.

Source

pub fn did_commit_during_frame(&self) -> bool

Returns the value of did_commit_during_frame, or the default value if did_commit_during_frame is unset.

Source

pub fn did_invalidate_layer_tree_frame_sink(&self) -> bool

Returns the value of did_invalidate_layer_tree_frame_sink, or the default value if did_invalidate_layer_tree_frame_sink is unset.

Source

pub fn did_perform_impl_side_invalidaion(&self) -> bool

Returns the value of did_perform_impl_side_invalidaion, or the default value if did_perform_impl_side_invalidaion is unset.

Source

pub fn did_prepare_tiles(&self) -> bool

Returns the value of did_prepare_tiles, or the default value if did_prepare_tiles is unset.

Source

pub fn consecutive_checkerboard_animations(&self) -> i32

Returns the value of consecutive_checkerboard_animations, or the default value if consecutive_checkerboard_animations is unset.

Source

pub fn pending_submit_frames(&self) -> i32

Returns the value of pending_submit_frames, or the default value if pending_submit_frames is unset.

Source

pub fn submit_frames_with_current_layer_tree_frame_sink(&self) -> i32

Returns the value of submit_frames_with_current_layer_tree_frame_sink, or the default value if submit_frames_with_current_layer_tree_frame_sink is unset.

Source

pub fn needs_redraw(&self) -> bool

Returns the value of needs_redraw, or the default value if needs_redraw is unset.

Source

pub fn needs_prepare_tiles(&self) -> bool

Returns the value of needs_prepare_tiles, or the default value if needs_prepare_tiles is unset.

Source

pub fn needs_begin_main_frame(&self) -> bool

Returns the value of needs_begin_main_frame, or the default value if needs_begin_main_frame is unset.

Source

pub fn needs_one_begin_impl_frame(&self) -> bool

Returns the value of needs_one_begin_impl_frame, or the default value if needs_one_begin_impl_frame is unset.

Source

pub fn visible(&self) -> bool

Returns the value of visible, or the default value if visible is unset.

Source

pub fn begin_frame_source_paused(&self) -> bool

Returns the value of begin_frame_source_paused, or the default value if begin_frame_source_paused is unset.

Source

pub fn can_draw(&self) -> bool

Returns the value of can_draw, or the default value if can_draw is unset.

Source

pub fn resourceless_draw(&self) -> bool

Returns the value of resourceless_draw, or the default value if resourceless_draw is unset.

Source

pub fn has_pending_tree(&self) -> bool

Returns the value of has_pending_tree, or the default value if has_pending_tree is unset.

Source

pub fn pending_tree_is_ready_for_activation(&self) -> bool

Returns the value of pending_tree_is_ready_for_activation, or the default value if pending_tree_is_ready_for_activation is unset.

Source

pub fn active_tree_needs_first_draw(&self) -> bool

Returns the value of active_tree_needs_first_draw, or the default value if active_tree_needs_first_draw is unset.

Source

pub fn active_tree_is_ready_to_draw(&self) -> bool

Returns the value of active_tree_is_ready_to_draw, or the default value if active_tree_is_ready_to_draw is unset.

Source

pub fn did_create_and_initialize_first_layer_tree_frame_sink(&self) -> bool

Returns the value of did_create_and_initialize_first_layer_tree_frame_sink, or the default value if did_create_and_initialize_first_layer_tree_frame_sink is unset.

Source

pub fn tree_priority(&self) -> TreePriority

Returns the enum value of tree_priority, or the default if the field is unset or set to an invalid enum value.

Source

pub fn set_tree_priority(&mut self, value: TreePriority)

Sets tree_priority to the provided enum value.

Source

pub fn scroll_handler_state(&self) -> ScrollHandlerState

Returns the enum value of scroll_handler_state, or the default if the field is unset or set to an invalid enum value.

Source

pub fn set_scroll_handler_state(&mut self, value: ScrollHandlerState)

Sets scroll_handler_state to the provided enum value.

Source

pub fn critical_begin_main_frame_to_activate_is_fast(&self) -> bool

Returns the value of critical_begin_main_frame_to_activate_is_fast, or the default value if critical_begin_main_frame_to_activate_is_fast is unset.

Source

pub fn main_thread_missed_last_deadline(&self) -> bool

Returns the value of main_thread_missed_last_deadline, or the default value if main_thread_missed_last_deadline is unset.

Source

pub fn video_needs_begin_frames(&self) -> bool

Returns the value of video_needs_begin_frames, or the default value if video_needs_begin_frames is unset.

Source

pub fn defer_begin_main_frame(&self) -> bool

Returns the value of defer_begin_main_frame, or the default value if defer_begin_main_frame is unset.

Source

pub fn last_commit_had_no_updates(&self) -> bool

Returns the value of last_commit_had_no_updates, or the default value if last_commit_had_no_updates is unset.

Source

pub fn did_draw_in_last_frame(&self) -> bool

Returns the value of did_draw_in_last_frame, or the default value if did_draw_in_last_frame is unset.

Source

pub fn did_submit_in_last_frame(&self) -> bool

Returns the value of did_submit_in_last_frame, or the default value if did_submit_in_last_frame is unset.

Source

pub fn needs_impl_side_invalidation(&self) -> bool

Returns the value of needs_impl_side_invalidation, or the default value if needs_impl_side_invalidation is unset.

Source

pub fn current_pending_tree_is_impl_side(&self) -> bool

Returns the value of current_pending_tree_is_impl_side, or the default value if current_pending_tree_is_impl_side is unset.

Source

pub fn previous_pending_tree_was_impl_side(&self) -> bool

Returns the value of previous_pending_tree_was_impl_side, or the default value if previous_pending_tree_was_impl_side is unset.

Source

pub fn processing_animation_worklets_for_active_tree(&self) -> bool

Returns the value of processing_animation_worklets_for_active_tree, or the default value if processing_animation_worklets_for_active_tree is unset.

Source

pub fn processing_animation_worklets_for_pending_tree(&self) -> bool

Returns the value of processing_animation_worklets_for_pending_tree, or the default value if processing_animation_worklets_for_pending_tree is unset.

Source

pub fn processing_paint_worklets_for_pending_tree(&self) -> bool

Returns the value of processing_paint_worklets_for_pending_tree, or the default value if processing_paint_worklets_for_pending_tree is unset.

Trait Implementations§

Source§

impl Clone for MinorState

Source§

fn clone(&self) -> MinorState

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for MinorState

Source§

impl Debug for MinorState

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for MinorState

Source§

fn default() -> MinorState

Returns the “default value” for a type. Read more
Source§

impl Message for MinorState

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8> ⓘ
where Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited( &self, buf: &mut impl BufMut, ) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘ
where Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and merges it into self.
Source§

impl PartialEq for MinorState

Source§

fn eq(&self, other: &MinorState) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for MinorState

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for T
where T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
§

impl<T> FutureExt for T

§

fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
§

fn with_current_context(self) -> WithContext<Self> ⓘ

Attaches the current Context to this type, returning a WithContext wrapper. Read more
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts 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

§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
§

impl<L> LayerExt<L> for L

§

fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>
where L: Layer<S>,

Applies the layer to a service and wraps it in [Layered].
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
§

impl<T> Scope for T

§

fn with<F, R>(self, f: F) -> R
where Self: Sized, F: FnOnce(Self) -> R,

Scoped with ownership.
§

fn with_ref<F, R>(&self, f: F) -> R
where F: FnOnce(&Self) -> R,

Scoped with reference.
§

fn with_mut<F, R>(&mut self, f: F) -> R
where F: FnOnce(&mut Self) -> R,

Scoped with mutable reference.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> Value for T
where T: Send + Sync + 'static,

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more