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§
Source§impl LabelOverlay
impl LabelOverlay
pub fn new(lang: Language) -> Box<LabelOverlay>
Trait Implementations§
Source§impl Clone for LabelOverlay
impl Clone for LabelOverlay
Source§fn clone(&self) -> LabelOverlay
fn clone(&self) -> LabelOverlay
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 LabelOverlay
impl Debug for LabelOverlay
Source§impl<'de> Deserialize<'de> for LabelOverlay
impl<'de> Deserialize<'de> for LabelOverlay
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 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 said(&self) -> &String
fn said_mut(&mut self) -> &mut String
fn language(&self) -> Option<&Language>
fn attributes(&self) -> Vec<&String>
fn add(&mut self, attribute: &Attribute)
fn metric_system(&self) -> Option<&String>
fn sign(&mut self, capture_base_sai: &str)
Auto Trait Implementations§
impl Freeze for LabelOverlay
impl RefUnwindSafe for LabelOverlay
impl Send for LabelOverlay
impl Sync for LabelOverlay
impl Unpin for LabelOverlay
impl UnwindSafe for LabelOverlay
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