pub struct FrameCallbackConfig {
pub frame_started_callback_enabled: bool,
pub frame_available_callback_enabled: bool,
pub frame_callback_enabled: bool,
pub frame_error_count_callback_enabled: bool,
}
Fields§
§frame_started_callback_enabled: bool
§frame_available_callback_enabled: bool
§frame_callback_enabled: bool
§frame_error_count_callback_enabled: bool
Trait Implementations§
Source§impl Clone for FrameCallbackConfig
impl Clone for FrameCallbackConfig
Source§fn clone(&self) -> FrameCallbackConfig
fn clone(&self) -> FrameCallbackConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FrameCallbackConfig
impl Debug for FrameCallbackConfig
Source§impl Default for FrameCallbackConfig
impl Default for FrameCallbackConfig
Source§fn default() -> FrameCallbackConfig
fn default() -> FrameCallbackConfig
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for FrameCallbackConfig
impl FromByteSlice for FrameCallbackConfig
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> FrameCallbackConfig
fn from_le_byte_slice(bytes: &[u8]) -> FrameCallbackConfig
Deserialize the implementing type from a byte slice.
Source§impl Hash for FrameCallbackConfig
impl Hash for FrameCallbackConfig
Source§impl PartialEq for FrameCallbackConfig
impl PartialEq for FrameCallbackConfig
impl Copy for FrameCallbackConfig
impl Eq for FrameCallbackConfig
impl StructuralPartialEq for FrameCallbackConfig
Auto Trait Implementations§
impl Freeze for FrameCallbackConfig
impl RefUnwindSafe for FrameCallbackConfig
impl Send for FrameCallbackConfig
impl Sync for FrameCallbackConfig
impl Unpin for FrameCallbackConfig
impl UnwindSafe for FrameCallbackConfig
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
Mutably borrows from an owned value. Read more