pub struct SencSample {
pub iv: [u8; 16],
pub subsamples: Vec<SencSubsample>,
}Available on crate feature
decrypt-cenc only.Expand description
Encryption parameters for a single media sample.
Fields§
§iv: [u8; 16]The initialization vector (IV) for this sample. Shorter IVs (e.g. 8 bytes) are zero-padded to 16 bytes.
subsamples: Vec<SencSubsample>The list of subsample encryption entries if subsample-level encryption is active.
Trait Implementations§
Source§impl Clone for SencSample
impl Clone for SencSample
Source§fn clone(&self) -> SencSample
fn clone(&self) -> SencSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SencSample
impl RefUnwindSafe for SencSample
impl Send for SencSample
impl Sync for SencSample
impl Unpin for SencSample
impl UnsafeUnpin for SencSample
impl UnwindSafe for SencSample
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