pub struct Transform(pub libcamera_transform_t);Expand description
2D plane transform matching libcamera::Transform.
Tuple Fields§
§0: libcamera_transform_tImplementations§
Source§impl Transform
impl Transform
Sourcepub fn between_orientations(from: Orientation, to: Orientation) -> Self
pub fn between_orientations(from: Orientation, to: Orientation) -> Self
Compute the transform between two orientations (equivalent to libcamera Orientation division).
Trait Implementations§
impl Copy for Transform
Auto Trait Implementations§
impl Freeze for Transform
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnwindSafe for Transform
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