Struct dsdl_parser::NormalizedFile
[−]
[src]
pub struct NormalizedFile(_);
A normalized File
The underlying file can't be exposed in a mutable way. Any change to the normalized format would "denormalize" it.
The NormalizedFile
can be used to calculate the DSDL signature
Methods
impl NormalizedFile
[src]
fn as_file<'a>(&'a self) -> &'a File
[src]
Return a reference to the underlying File
fn into_file(self) -> File
[src]
Turn the NormalizedFile
into the underlying File
fn dsdl_signature(&self) -> u64
[src]
Calculate the DSDL signature
Trait Implementations
impl Display for NormalizedFile
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Clone for NormalizedFile
[src]
fn clone(&self) -> NormalizedFile
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for NormalizedFile
[src]
impl PartialEq for NormalizedFile
[src]
fn eq(&self, __arg_0: &NormalizedFile) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NormalizedFile) -> bool
[src]
This method tests for !=
.