pub struct Rung {
pub height: u32,
pub max_bitrate: u64,
pub video: Option<ConvertedVideo>,
}Expand description
One variant of an HLS ladder (PX-21): its picture’s height and its
video’s bitrate, bits per second (an encode’s cap; a copy’s average).
Its codec, range and burned-in subtitle are the plan’s video’s, only
the size and rate differing, unless video says otherwise.
Fields§
§height: u32§max_bitrate: u64§video: Option<ConvertedVideo>This variant’s own video, where it is not the plan’s resized: the
encodes under a copied original (PX-21’s remux ladder), whose plan
video is the copy, the top variant. None for a ladder of
encodes, and the copy’s own rung.
Trait Implementations§
impl Copy for Rung
Source§impl<'de> Deserialize<'de> for Rung
impl<'de> Deserialize<'de> for Rung
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 Eq for Rung
impl StructuralPartialEq for Rung
Auto Trait Implementations§
impl Freeze for Rung
impl RefUnwindSafe for Rung
impl Send for Rung
impl Sync for Rung
impl Unpin for Rung
impl UnsafeUnpin for Rung
impl UnwindSafe for Rung
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