pub struct Config { /* private fields */ }Expand description
Pipeline Configuration
Implementations§
Source§impl Config
impl Config
Sourcepub fn new() -> Result<Self, OrbbecError>
pub fn new() -> Result<Self, OrbbecError>
Create a new configuration with default parameters
Sourcepub fn enable_stream_with_profile<S: StreamProfile>(
&mut self,
profile: &S,
) -> Result<(), OrbbecError>
pub fn enable_stream_with_profile<S: StreamProfile>( &mut self, profile: &S, ) -> Result<(), OrbbecError>
Auto Trait Implementations§
impl !Send for Config
impl !Sync for Config
impl Freeze for Config
impl RefUnwindSafe for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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