pub struct Facts {
pub media: BTreeMap<String, MediaFacts>,
pub texts: BTreeMap<String, String>,
}Expand description
What the compiler knows of the files a spec names, keyed by the path the spec gives.
Fields§
§media: BTreeMap<String, MediaFacts>Media files’ shapes and lengths.
texts: BTreeMap<String, String>Caption files’ text.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Facts
impl<'de> Deserialize<'de> for Facts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Facts
Auto Trait Implementations§
impl Freeze for Facts
impl RefUnwindSafe for Facts
impl Send for Facts
impl Sync for Facts
impl Unpin for Facts
impl UnsafeUnpin for Facts
impl UnwindSafe for Facts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more