pub enum CommentClientMeta {
Vector(Box<Vector>),
FrameOffset(Box<FrameOffset>),
Region(Box<Region>),
FrameOffsetRegion(Box<FrameOffsetRegion>),
}
Expand description
CommentClientMeta : Positioning information of the comment. Includes information on the location of the comment pin, which is either the absolute coordinates on the canvas or a relative offset within a frame. If the comment is a region, it will also contain the region height, width, and position of the anchor in regards to the region. Positioning information of the comment. Includes information on the location of the comment pin, which is either the absolute coordinates on the canvas or a relative offset within a frame. If the comment is a region, it will also contain the region height, width, and position of the anchor in regards to the region.
Variants§
Vector(Box<Vector>)
FrameOffset(Box<FrameOffset>)
Region(Box<Region>)
FrameOffsetRegion(Box<FrameOffsetRegion>)
Trait Implementations§
Source§impl Clone for CommentClientMeta
impl Clone for CommentClientMeta
Source§fn clone(&self) -> CommentClientMeta
fn clone(&self) -> CommentClientMeta
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 CommentClientMeta
impl Debug for CommentClientMeta
Source§impl Default for CommentClientMeta
impl Default for CommentClientMeta
Source§impl<'de> Deserialize<'de> for CommentClientMeta
impl<'de> Deserialize<'de> for CommentClientMeta
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 for CommentClientMeta
impl PartialEq for CommentClientMeta
Source§impl Serialize for CommentClientMeta
impl Serialize for CommentClientMeta
impl StructuralPartialEq for CommentClientMeta
Auto Trait Implementations§
impl Freeze for CommentClientMeta
impl RefUnwindSafe for CommentClientMeta
impl Send for CommentClientMeta
impl Sync for CommentClientMeta
impl Unpin for CommentClientMeta
impl UnwindSafe for CommentClientMeta
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