Struct agnes::field::SrcField
[−]
[src]
pub struct SrcField { pub ty_ident: TypedFieldIdent, pub src_index: usize, }
Specification of a typed field identifier along with the index in the original source data file.
Fields
ty_ident: TypedFieldIdent
Field identifier and type
src_index: usize
Index of field within the original data file
Methods
impl SrcField
[src]
pub fn new(ident: FieldIdent, ty: FieldType, src_index: usize) -> SrcField
[src]
Create a new SrcField
object from specified field identifier, type, and source index.
pub fn from_ty_ident(ty_ident: TypedFieldIdent, src_index: usize) -> SrcField
[src]
Create a new SrcField
object from specified typed field identifier obejct ans source
index.
Trait Implementations
impl Debug for SrcField
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more