pub struct StppDocument { /* private fields */ }Implementations§
Source§impl StppDocument
impl StppDocument
pub fn new() -> StppDocument
pub fn add_from_mp4(&mut self, bytes: &Bytes) -> Result<(), DashMpdError>
pub fn add_bytes(&mut self, bytes: &Bytes) -> Result<(), DashMpdError>
pub fn add_content(&mut self, xml: &str) -> Result<(), DashMpdError>
pub fn to_string(&mut self) -> String
Trait Implementations§
Source§impl Clone for StppDocument
impl Clone for StppDocument
Source§impl Debug for StppDocument
impl Debug for StppDocument
Auto Trait Implementations§
impl Freeze for StppDocument
impl RefUnwindSafe for StppDocument
impl Send for StppDocument
impl Sync for StppDocument
impl Unpin for StppDocument
impl UnsafeUnpin for StppDocument
impl UnwindSafe for StppDocument
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