pub struct AutoGazeLoadOptions {
pub allow_partial: bool,
pub validate: bool,
}Fields§
§allow_partial: bool§validate: boolImplementations§
Source§impl AutoGazeLoadOptions
impl AutoGazeLoadOptions
pub const fn strict() -> Self
pub const fn permissive() -> Self
pub const fn with_allow_partial(self, allow_partial: bool) -> Self
pub const fn with_validate(self, validate: bool) -> Self
Trait Implementations§
Source§impl Clone for AutoGazeLoadOptions
impl Clone for AutoGazeLoadOptions
Source§fn clone(&self) -> AutoGazeLoadOptions
fn clone(&self) -> AutoGazeLoadOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AutoGazeLoadOptions
impl Debug for AutoGazeLoadOptions
Source§impl Default for AutoGazeLoadOptions
impl Default for AutoGazeLoadOptions
Source§impl PartialEq for AutoGazeLoadOptions
impl PartialEq for AutoGazeLoadOptions
Source§fn eq(&self, other: &AutoGazeLoadOptions) -> bool
fn eq(&self, other: &AutoGazeLoadOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AutoGazeLoadOptions
impl Eq for AutoGazeLoadOptions
impl StructuralPartialEq for AutoGazeLoadOptions
Auto Trait Implementations§
impl Freeze for AutoGazeLoadOptions
impl RefUnwindSafe for AutoGazeLoadOptions
impl Send for AutoGazeLoadOptions
impl Sync for AutoGazeLoadOptions
impl Unpin for AutoGazeLoadOptions
impl UnsafeUnpin for AutoGazeLoadOptions
impl UnwindSafe for AutoGazeLoadOptions
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
Source§impl<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.