Enum freya::prelude::CustomAttributeValues
source · pub enum CustomAttributeValues {
Reference(NodeReference),
CursorReference(CursorReference),
Bytes(Vec<u8, Global>),
ImageReference(ImageReference),
FocusId(NodeId),
TextHighlights(Vec<(usize, usize), Global>),
Canvas(CanvasReference),
}
Expand description
Group all the custom attribute types
Variants§
Reference(NodeReference)
CursorReference(CursorReference)
Bytes(Vec<u8, Global>)
ImageReference(ImageReference)
FocusId(NodeId)
TextHighlights(Vec<(usize, usize), Global>)
Canvas(CanvasReference)
Trait Implementations§
source§impl Clone for CustomAttributeValues
impl Clone for CustomAttributeValues
source§fn clone(&self) -> CustomAttributeValues
fn clone(&self) -> CustomAttributeValues
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 CustomAttributeValues
impl Debug for CustomAttributeValues
source§impl FromAnyValue for CustomAttributeValues
impl FromAnyValue for CustomAttributeValues
source§fn from_any_value(b: &(dyn Any + 'static)) -> CustomAttributeValues
fn from_any_value(b: &(dyn Any + 'static)) -> CustomAttributeValues
Convert from an Any value.
source§impl PartialEq<CustomAttributeValues> for CustomAttributeValues
impl PartialEq<CustomAttributeValues> for CustomAttributeValues
source§fn eq(&self, other: &CustomAttributeValues) -> bool
fn eq(&self, other: &CustomAttributeValues) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomAttributeValues
Auto Trait Implementations§
impl !RefUnwindSafe for CustomAttributeValues
impl Send for CustomAttributeValues
impl Sync for CustomAttributeValues
impl Unpin for CustomAttributeValues
impl !UnwindSafe for CustomAttributeValues
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