pub struct LabelOverlay {
pub attribute_labels: BTreeMap<String, String>,
pub attribute_categories: Vec<String>,
pub category_labels: BTreeMap<String, String>,
pub category_attributes: BTreeMap<String, Vec<String>>,
/* private fields */
}
Fields
attribute_labels: BTreeMap<String, String>
attribute_categories: Vec<String>
category_labels: BTreeMap<String, String>
category_attributes: BTreeMap<String, Vec<String>>
Implementations
sourceimpl LabelOverlay
impl LabelOverlay
pub fn new(lang: Language) -> Box<LabelOverlay>
Trait Implementations
sourceimpl Clone for LabelOverlay
impl Clone for LabelOverlay
sourcefn clone(&self) -> LabelOverlay
fn clone(&self) -> LabelOverlay
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LabelOverlay
impl Debug for LabelOverlay
sourceimpl<'de> Deserialize<'de> for LabelOverlay
impl<'de> Deserialize<'de> for LabelOverlay
sourcefn 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
sourceimpl Overlay for LabelOverlay
impl Overlay for LabelOverlay
fn as_any(&self) -> &dyn Any
fn capture_base(&mut self) -> &mut String
fn overlay_type(&self) -> &String
fn language(&self) -> Option<&Language>
fn attributes(&self) -> Vec<&String>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn add(&mut self, attribute: &Attribute)
fn metric_system(&self) -> Option<&String>
fn sign(&mut self, capture_base_sai: &str)
sourceimpl Serialize for LabelOverlay
impl Serialize for LabelOverlay
Auto Trait Implementations
impl RefUnwindSafe for LabelOverlay
impl Send for LabelOverlay
impl Sync for LabelOverlay
impl Unpin for LabelOverlay
impl UnwindSafe for LabelOverlay
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more