pub struct StreamProfileList { /* private fields */ }Expand description
List of video stream profiles
Implementations§
Source§impl StreamProfileList
impl StreamProfileList
Sourcepub fn get_video_stream_profile(
&self,
width: u16,
height: u16,
format: Format,
fps: u8,
) -> Result<VideoStreamProfile, OrbbecError>
pub fn get_video_stream_profile( &self, width: u16, height: u16, format: Format, fps: u8, ) -> Result<VideoStreamProfile, OrbbecError>
Get the corresponding video stream profile through the passed parameters.
§Arguments
width- Width of the stream in pixelsheight- Height of the stream in pixelsformat- Pixel format of the streamfps- Frame rate of the stream in frames per second
Auto Trait Implementations§
impl Freeze for StreamProfileList
impl RefUnwindSafe for StreamProfileList
impl !Send for StreamProfileList
impl !Sync for StreamProfileList
impl Unpin for StreamProfileList
impl UnwindSafe for StreamProfileList
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