[−][src]Struct gff_diff::CompareGFF
Implementations
impl CompareGFF
[src]
pub fn new() -> Self
[src]
Creates a new, blank CompareGFF.
pub fn record_issues(&mut self, do_record: bool)
[src]
Changes the option to record issues in the result.
pub fn flexible_ids(&mut self, use_flexible_ids: bool)
[src]
Changes the option to create new IDs in case of duplicates.
pub fn new_from_files<S: Into<String>>(
filename1: S,
filename2: S
) -> Result<Self, Box<dyn Error>>
[src]
filename1: S,
filename2: S
) -> Result<Self, Box<dyn Error>>
Creates a new CompareGFF with two files.
pub fn load_gff<S: Into<String>>(
&mut self,
filename: S,
data_set: u8
) -> Result<(), Box<dyn Error>>
[src]
&mut self,
filename: S,
data_set: u8
) -> Result<(), Box<dyn Error>>
pub fn diff(&self) -> Result<Value, Box<dyn Error>>
[src]
Generates the diff between the two loaded files.
pub fn sort_comparison(result: &mut Value)
[src]
Sorts a comparison JSON. Potentially slow. Used in tests.
pub fn diff_apollo(&self) -> Result<Value, Box<dyn Error>>
[src]
pub fn write_data1(&self, file: Box<dyn Write>) -> Result<(), Box<dyn Error>>
[src]
pub fn apply_diff(
&mut self,
diff: &Value
) -> Result<&HashMap<String, Record>, Box<dyn Error>>
[src]
&mut self,
diff: &Value
) -> Result<&HashMap<String, Record>, Box<dyn Error>>
Applies the given diff to the data loaded into the gff 1 slot.
Auto Trait Implementations
impl RefUnwindSafe for CompareGFF
[src]
impl Send for CompareGFF
[src]
impl Sync for CompareGFF
[src]
impl Unpin for CompareGFF
[src]
impl UnwindSafe for CompareGFF
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,