pub struct LabelMetaElement {
pub name: String,
pub id: String,
pub label: u8,
pub rgba: [u8; 4],
pub size: [u16; 3],
pub owner: String,
}
Expand description
Label metadata element
Fields§
§name: String
Name or description of the label (max 64 chars)
id: String
ID to query the LABEL (max 20 chars)
label: u8
Label value (intensity value in the label image)
rgba: [u8; 4]
RGBA color for visualization
size: [u16; 3]
Number of pixels in each direction (RI, RJ, RK)
owner: String
Owner image ID (max 20 chars)
Implementations§
Trait Implementations§
Source§impl Clone for LabelMetaElement
impl Clone for LabelMetaElement
Source§fn clone(&self) -> LabelMetaElement
fn clone(&self) -> LabelMetaElement
Returns a duplicate 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 LabelMetaElement
impl Debug for LabelMetaElement
Source§impl PartialEq for LabelMetaElement
impl PartialEq for LabelMetaElement
impl StructuralPartialEq for LabelMetaElement
Auto Trait Implementations§
impl Freeze for LabelMetaElement
impl RefUnwindSafe for LabelMetaElement
impl Send for LabelMetaElement
impl Sync for LabelMetaElement
impl Unpin for LabelMetaElement
impl UnwindSafe for LabelMetaElement
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