pub struct PointElement {
pub name: String,
pub group: String,
pub rgba: [u8; 4],
pub position: [f32; 3],
pub diameter: f32,
pub owner: String,
}
Expand description
Point/fiducial data element
Fields§
§name: String
Name or description of the point (max 64 chars)
group: String
Group name (e.g., “Labeled Point”, “Landmark”, “Fiducial”) (max 32 chars)
rgba: [u8; 4]
Color in RGBA (0-255)
position: [f32; 3]
Coordinate of the point in millimeters
diameter: f32
Diameter of the point in millimeters (can be 0)
owner: String
ID of the owner image/sliceset (max 20 chars)
Implementations§
Trait Implementations§
Source§impl Clone for PointElement
impl Clone for PointElement
Source§fn clone(&self) -> PointElement
fn clone(&self) -> PointElement
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 PointElement
impl Debug for PointElement
Source§impl PartialEq for PointElement
impl PartialEq for PointElement
impl StructuralPartialEq for PointElement
Auto Trait Implementations§
impl Freeze for PointElement
impl RefUnwindSafe for PointElement
impl Send for PointElement
impl Sync for PointElement
impl Unpin for PointElement
impl UnwindSafe for PointElement
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