[−][src]Enum solana_libra_invalid_mutations::bounds::PointerKind
Represents the number of pointers that exist out from a node of a particular kind.
Variants
One(IndexKind)
Exactly one pointer out with this index kind as its destination.
Optional(IndexKind)
Zero or one pointer out with this index kind as its destination. Like the ?
operator in
regular expressions.
Star(IndexKind)
Zero or more pointers out with this index kind as its destination. Like the *
operator
in regular expressions.
Methods
impl PointerKind
[src]
pub fn pointers_from(src_kind: IndexKind) -> &'static [PointerKind]
[src]
A list of what pointers (indexes) exist out from a particular kind of node within the module.
The only special case is FunctionDefinition
, which contains a CodeUnit
that can contain
one of several kinds of pointers out. That is not represented in this table.
pub fn to_index_kind(self) -> IndexKind
[src]
Trait Implementations
impl Clone for PointerKind
[src]
fn clone(&self) -> PointerKind
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PointerKind
[src]
impl Debug for PointerKind
[src]
impl Eq for PointerKind
[src]
impl Hash for PointerKind
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<PointerKind> for PointerKind
[src]
fn eq(&self, other: &PointerKind) -> bool
[src]
fn ne(&self, other: &PointerKind) -> bool
[src]
impl StructuralEq for PointerKind
[src]
impl StructuralPartialEq for PointerKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for PointerKind
impl Send for PointerKind
impl Sync for PointerKind
impl Unpin for PointerKind
impl UnwindSafe for PointerKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,