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<'a, 'b>(
&'a mut self,
filter: &Filter,
name: &str,
args: &str,
) -> Result<Context<'b>, Error>where
'a: 'b,
pub fn get<'a, 'b>(&'b mut self, name: &str) -> Option<Context<'b>>where
'a: 'b,
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