pub struct Graph { /* private fields */ }Implementations§
Source§impl Graph
impl Graph
pub unsafe fn wrap(ptr: *mut AVFilterGraph) -> Self
pub unsafe fn as_ptr(&self) -> *const AVFilterGraph
pub unsafe fn as_mut_ptr(&mut self) -> *mut AVFilterGraph
Source§impl Graph
impl Graph
pub fn new() -> Self
pub fn validate(&mut self) -> Result<(), Error>
pub fn add( &mut self, filter: &Filter, name: &str, args: &str, ) -> Result<Context, Error>
pub fn get(&mut self, name: &str) -> Option<Context>
pub fn dump(&self) -> String
pub fn input(&mut self, name: &str, pad: usize) -> Result<Parser<'_>, Error>
pub fn output(&mut self, name: &str, pad: usize) -> Result<Parser<'_>, Error>
pub fn parse(&mut self, spec: &str) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
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