[−][src]Enum agnes::field::FieldIdent
Identifier for a field in the source.
Variants
Index(usize)
Unnamed field identifier, using the field index in the source file.
Name(String)
Field name in the source file
Methods
impl FieldIdent
[src]
pub fn to_string(&self) -> String
[src]
Produce a string representation of the field identifier. Either the name if
of the FieldIdent::Name
variant, or the string "Field #" if using the FieldIdent::Index
variant.
Trait Implementations
impl Clone for FieldIdent
[src]
fn clone(&self) -> FieldIdent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<FieldIdent> for FieldIdent
[src]
fn eq(&self, other: &FieldIdent) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Eq for FieldIdent
[src]
impl From<usize> for FieldIdent
[src]
fn from(src: usize) -> FieldIdent
[src]
impl<'a> From<&'a str> for FieldIdent
[src]
fn from(src: &'a str) -> FieldIdent
[src]
impl From<String> for FieldIdent
[src]
fn from(src: String) -> FieldIdent
[src]
impl<'a, T> From<&'a T> for FieldIdent where
FieldIdent: From<T>,
T: Clone,
[src]
FieldIdent: From<T>,
T: Clone,
fn from(src: &'a T) -> FieldIdent
[src]
impl Hash for FieldIdent
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
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 Display for FieldIdent
[src]
impl Debug for FieldIdent
[src]
Auto Trait Implementations
impl Send for FieldIdent
impl Sync for FieldIdent
Blanket Implementations
impl<T> IntoLabeled for T
[src]
impl<T> HasLabels for T
[src]
impl<Needle, Haystack> HasLabels for Haystack where
Haystack: Member<Needle, IsMember = B1>,
Needle: Label,
[src]
Haystack: Member<Needle, IsMember = B1>,
Needle: Label,
impl<Frames, Store> JoinIntoStore for Frames
[src]
type Output = Store
The output type after augmenting Store
.
fn join_into_store(&Self, Store, &[usize]) -> Result<Store, AgnesError>
[src]
impl<Frames> AssocDataIndexCons for Frames
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?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<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<T> Erased for T
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<T> Same for T
[src]
type Output = T
Should always be Self