pub struct AtnConfigSet { /* private fields */ }Implementations§
Source§impl AtnConfigSet
impl AtnConfigSet
pub fn new() -> Self
Sourcepub fn add(&mut self, config: AtnConfig) -> bool
pub fn add(&mut self, config: AtnConfig) -> bool
Adds a configuration if an equivalent (state, alt, context) entry is
not already present.
pub fn configs(&self) -> &[AtnConfig]
pub const fn is_empty(&self) -> bool
pub const fn len(&self) -> usize
pub const fn set_readonly(&mut self, readonly: bool)
pub const fn has_semantic_context(&self) -> bool
pub const fn set_has_semantic_context(&mut self, value: bool)
pub const fn dips_into_outer_context(&self) -> bool
Trait Implementations§
Source§impl Clone for AtnConfigSet
impl Clone for AtnConfigSet
Source§fn clone(&self) -> AtnConfigSet
fn clone(&self) -> AtnConfigSet
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 AtnConfigSet
impl Debug for AtnConfigSet
Source§impl Default for AtnConfigSet
impl Default for AtnConfigSet
Source§fn default() -> AtnConfigSet
fn default() -> AtnConfigSet
Returns the “default value” for a type. Read more
Source§impl Ord for AtnConfigSet
impl Ord for AtnConfigSet
Source§fn cmp(&self, other: &AtnConfigSet) -> Ordering
fn cmp(&self, other: &AtnConfigSet) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AtnConfigSet
impl PartialEq for AtnConfigSet
Source§fn eq(&self, other: &AtnConfigSet) -> bool
fn eq(&self, other: &AtnConfigSet) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AtnConfigSet
impl PartialOrd for AtnConfigSet
impl Eq for AtnConfigSet
impl StructuralPartialEq for AtnConfigSet
Auto Trait Implementations§
impl Freeze for AtnConfigSet
impl RefUnwindSafe for AtnConfigSet
impl !Send for AtnConfigSet
impl !Sync for AtnConfigSet
impl Unpin for AtnConfigSet
impl UnsafeUnpin for AtnConfigSet
impl UnwindSafe for AtnConfigSet
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