Struct aleph_alpha_client::ImageScore
source · pub struct ImageScore {
pub left: f32,
pub top: f32,
pub width: f32,
pub height: f32,
pub score: f32,
}
Expand description
Score for a part of an image.
Fields§
§left: f32
§top: f32
§width: f32
§height: f32
§score: f32
Trait Implementations§
source§impl Clone for ImageScore
impl Clone for ImageScore
source§fn clone(&self) -> ImageScore
fn clone(&self) -> ImageScore
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageScore
impl Debug for ImageScore
source§impl<'de> Deserialize<'de> for ImageScore
impl<'de> Deserialize<'de> for ImageScore
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ImageScore> for ImageScore
impl PartialEq<ImageScore> for ImageScore
source§fn eq(&self, other: &ImageScore) -> bool
fn eq(&self, other: &ImageScore) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImageScore
Auto Trait Implementations§
impl RefUnwindSafe for ImageScore
impl Send for ImageScore
impl Sync for ImageScore
impl Unpin for ImageScore
impl UnwindSafe for ImageScore
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