[][src]Struct agnes::field::RFieldIdent

pub struct RFieldIdent {
    pub ident: FieldIdent,
    pub rename: Option<String>,
}

Possibly-renamed field identifier

Fields

ident: FieldIdent

Original field identifier

rename: Option<String>

Renamed name (if exists)

Methods

impl RFieldIdent[src]

pub fn to_string(&self) -> String[src]

Produce a string representation of this RFieldIdent. Uses the renamed name (if exists), of the result of to_string on the underlying FieldIdent.

pub fn to_renamed_field_ident(&self) -> FieldIdent[src]

Produce a new FieldIdent using the rename value of this RFieldIdent (if exists), or simply a clone of the underlying FieldIdent.

Trait Implementations

impl Eq for RFieldIdent[src]

impl PartialEq<RFieldIdent> for RFieldIdent[src]

impl Clone for RFieldIdent[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RFieldIdent[src]

impl Hash for RFieldIdent[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for RFieldIdent

impl Sync for RFieldIdent

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]

impl<Frames, Store> JoinIntoStore for Frames[src]

type Output = Store

The output type after augmenting Store.

impl<Frames> AssocDataIndexCons for Frames[src]

type Output = Nil

Type of associated data index cons-list.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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.

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Erased for T

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Same for T[src]

type Output = T

Should always be Self