subtile 0.4.1

A crate of utils to operate traitements on subtitles
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Module for subtitle content utils
mod area;
mod size;

pub use area::{Area, AreaValues};
pub use size::Size;

use thiserror::Error;

/// Error for content
#[derive(Debug, Error)]
#[non_exhaustive]
pub enum ContentError {
    /// Indicate an invalid bounding box Area
    /// Example: If at least one coordinate value of second point are inferior of first point.
    #[error("invalid bounding box for Area")]
    InvalidAreaBounding,
}