pub struct Rectangle {
pub x: i32,
pub y: i32,
pub width: u32,
pub height: u32,
}
Expand description
Represents libcamera::Rectangle
Fields§
§x: i32
§y: i32
§width: u32
§height: u32
Trait Implementations§
source§impl From<Rectangle> for ControlValue
impl From<Rectangle> for ControlValue
source§impl TryFrom<ControlValue> for Rectangle
impl TryFrom<ControlValue> for Rectangle
§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Copy for Rectangle
Auto Trait Implementations§
impl RefUnwindSafe for Rectangle
impl Send for Rectangle
impl Sync for Rectangle
impl Unpin for Rectangle
impl UnwindSafe for Rectangle
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