pub struct VisitTransitionSet { /* private fields */ }
Implementations§
source§impl VisitTransitionSet
impl VisitTransitionSet
pub const fn new() -> Self
pub const fn empty() -> Self
pub const fn all() -> Self
pub const fn single(ty: VisitType) -> Self
pub fn for_specific(tys: &[VisitType]) -> Self
pub fn into_u16(self) -> u16
pub fn from_u16(v: u16) -> Result<VisitTransitionSet, InvalidVisitType>
pub fn contains(self, t: VisitType) -> bool
pub fn insert(&mut self, t: VisitType)
pub fn remove(&mut self, t: VisitType)
pub fn complement(self) -> VisitTransitionSet
pub fn len(self) -> usize
pub fn is_empty(self) -> bool
Trait Implementations§
source§impl Clone for VisitTransitionSet
impl Clone for VisitTransitionSet
source§fn clone(&self) -> VisitTransitionSet
fn clone(&self) -> VisitTransitionSet
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 VisitTransitionSet
impl Debug for VisitTransitionSet
source§impl Default for VisitTransitionSet
impl Default for VisitTransitionSet
source§fn default() -> VisitTransitionSet
fn default() -> VisitTransitionSet
Returns the “default value” for a type. Read more
source§impl Extend<VisitType> for VisitTransitionSet
impl Extend<VisitType> for VisitTransitionSet
source§fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = VisitType>,
fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = VisitType>,
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl From<VisitTransitionSet> for u16
impl From<VisitTransitionSet> for u16
source§fn from(vts: VisitTransitionSet) -> Self
fn from(vts: VisitTransitionSet) -> Self
Converts to this type from the input type.
source§impl FromIterator<VisitType> for VisitTransitionSet
impl FromIterator<VisitType> for VisitTransitionSet
source§impl Hash for VisitTransitionSet
impl Hash for VisitTransitionSet
source§impl IntoIterator for VisitTransitionSet
impl IntoIterator for VisitTransitionSet
source§impl PartialEq for VisitTransitionSet
impl PartialEq for VisitTransitionSet
source§impl ToSql for VisitTransitionSet
impl ToSql for VisitTransitionSet
source§impl TryFrom<u16> for VisitTransitionSet
impl TryFrom<u16> for VisitTransitionSet
source§type Error = InvalidVisitType
type Error = InvalidVisitType
The type returned in the event of a conversion error.
impl Copy for VisitTransitionSet
impl Eq for VisitTransitionSet
impl StructuralPartialEq for VisitTransitionSet
Auto Trait Implementations§
impl Freeze for VisitTransitionSet
impl RefUnwindSafe for VisitTransitionSet
impl Send for VisitTransitionSet
impl Sync for VisitTransitionSet
impl Unpin for VisitTransitionSet
impl UnwindSafe for VisitTransitionSet
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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.§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more