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 Forget for Facts
impl Freeze for Factswhere
*const LeafNode<String, MediaFacts> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, MediaFacts)>>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
impl Move for Facts
impl RefUnwindSafe for Facts
impl Send for Facts
impl Sync for Facts
impl Unpin for Facts
impl UnsafeUnpin for Factswhere
*const LeafNode<String, MediaFacts> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, MediaFacts)>>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
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