#[non_exhaustive]pub struct BarewordTable {
pub facts: Vec<BarewordFact>,
}Expand description
Source-backed bareword facts lowered from parsed identifiers.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.facts: Vec<BarewordFact>Bareword facts in stable source order.
Trait Implementations§
Source§impl Clone for BarewordTable
impl Clone for BarewordTable
Source§fn clone(&self) -> BarewordTable
fn clone(&self) -> BarewordTable
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 BarewordTable
impl Debug for BarewordTable
Source§impl Default for BarewordTable
impl Default for BarewordTable
Source§fn default() -> BarewordTable
fn default() -> BarewordTable
Returns the “default value” for a type. Read more
impl Eq for BarewordTable
Source§impl PartialEq for BarewordTable
impl PartialEq for BarewordTable
Source§fn eq(&self, other: &BarewordTable) -> bool
fn eq(&self, other: &BarewordTable) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BarewordTable
Auto Trait Implementations§
impl Freeze for BarewordTable
impl RefUnwindSafe for BarewordTable
impl Send for BarewordTable
impl Sync for BarewordTable
impl Unpin for BarewordTable
impl UnsafeUnpin for BarewordTable
impl UnwindSafe for BarewordTable
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