[−]Struct lark_ty::declaration::Base
Methods
impl Base
pub const fn new(index: usize) -> Self
pub const fn from_u32(index: u32) -> Self
pub fn as_u32(self) -> u32
pub fn as_usize(self) -> usize
Trait Implementations
impl Eq for Base
impl Clone for Base
fn clone(&self) -> Base
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for Base
impl PartialOrd<Base> for Base
fn partial_cmp(&self, other: &Base) -> Option<Ordering>
fn lt(&self, other: &Base) -> bool
fn le(&self, other: &Base) -> bool
fn gt(&self, other: &Base) -> bool
fn ge(&self, other: &Base) -> bool
impl PartialEq<Base> for Base
impl Ord for Base
fn cmp(&self, other: &Base) -> Ordering
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl From<usize> for Base
impl From<u32> for Base
impl Debug for Base
impl Hash for Base
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Add<usize> for Base
impl U32Index for Base
fn as_u32(self) -> u32
fn from_u32(v: u32) -> Self
fn as_usize(self) -> usize
fn from_usize(v: usize) -> Self
impl DebugWith for Base
fn fmt_with<Cx: ?Sized>(&self, cx: &Cx, fmt: &mut Formatter) -> Result
fn debug_with<Cx>(&'me self, cx: &'me Cx) -> DebugCxPair<'me, &'me Self, Cx> where
Cx: ?Sized,
[src]
Cx: ?Sized,
fn into_debug_with<Cx>(self, cx: &'me Cx) -> DebugCxPair<'me, Self, Cx> where
Cx: ?Sized,
[src]
Cx: ?Sized,
impl<Cx> FmtWithSpecialized<Cx> for Base where
Cx: AsRef<DeclarationTables>,
[src]
Cx: AsRef<DeclarationTables>,
fn fmt_with_specialized(&self, cx: &Cx, fmt: &mut Formatter) -> Result
[src]
impl Untern<DeclarationTables> for Base
type Data = BoundVarOr<BaseData<Declaration>>
fn untern(
self,
tables: &dyn AsRef<DeclarationTables>
) -> BoundVarOr<BaseData<Declaration>>
self,
tables: &dyn AsRef<DeclarationTables>
) -> BoundVarOr<BaseData<Declaration>>
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<Cx, T> FmtWithSpecialized for T where
Cx: ?Sized,
T: Debug + ?Sized,
[src]
Cx: ?Sized,
T: Debug + ?Sized,
impl<T> SpanFile for T where
T: Copy + Eq + Ord + Debug,
T: Copy + Eq + Ord + Debug,