Struct webm_iterable::matroska_spec::SimpleBlock [−][src]
Expand description
A typed interpretation of the Matroska “SimpleBlock” element.
This struct has fields specific to the SimpleBlock element as defined by the Matroska Spec. This struct implements TryFrom<TagData>
and Into<TagData>
to simplify coercion to and from regular TagData::Binary
values.
Example
use webm_iterable::matroska_spec::SimpleBlock; let binary_tag_data = TagData::Binary(vec![0x81,0x00,0x01,0x9d,0x00,0x00,0x00]); let mut simple_block: SimpleBlock = binary_tag_data.try_into().unwrap(); simple_block.discardable = true;
Fields
block: Block
discardable: bool
keyframe: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SimpleBlock
impl Send for SimpleBlock
impl Sync for SimpleBlock
impl Unpin for SimpleBlock
impl UnwindSafe for SimpleBlock