pub struct BoxAnnotation { /* private fields */ }
Implementations§
§impl BoxAnnotation
impl BoxAnnotation
pub fn new() -> Self
pub fn get_background_color(&mut self) -> &mut String
pub fn background_color(self, value: impl Into<String>) -> BoxAnnotation
pub fn get_border_color(&mut self) -> &mut String
pub fn border_color(self, value: impl Into<String>) -> BoxAnnotation
pub fn get_border_dash(&mut self) -> &mut Vec<NumberString>
pub fn border_dash<T: Into<NumberString>>( self, value: impl IntoIterator<Item = T>, ) -> BoxAnnotation
pub fn get_border_width(&mut self) -> &mut Option<NumberStringOrT<Border>>
pub fn border_width( self, value: impl Into<NumberStringOrT<Border>>, ) -> BoxAnnotation
pub fn get_draw_time(&mut self) -> &mut String
pub fn draw_time(self, value: impl Into<String>) -> BoxAnnotation
pub fn get_annotation_type(&mut self) -> &mut BoxAnnotationType
pub fn annotation_type( self, value: impl Into<BoxAnnotationType>, ) -> BoxAnnotation
pub fn get_x_max(&mut self) -> &mut NumberString
pub fn x_max(self, value: impl Into<NumberString>) -> BoxAnnotation
pub fn get_x_min(&mut self) -> &mut NumberString
pub fn x_min(self, value: impl Into<NumberString>) -> BoxAnnotation
pub fn get_y_max(&mut self) -> &mut NumberString
pub fn y_max(self, value: impl Into<NumberString>) -> BoxAnnotation
pub fn get_y_min(&mut self) -> &mut NumberString
pub fn y_min(self, value: impl Into<NumberString>) -> BoxAnnotation
Trait Implementations§
Source§impl Clone for BoxAnnotation
impl Clone for BoxAnnotation
Source§fn clone(&self) -> BoxAnnotation
fn clone(&self) -> BoxAnnotation
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 BoxAnnotation
impl Debug for BoxAnnotation
Source§impl Default for BoxAnnotation
impl Default for BoxAnnotation
Source§fn default() -> BoxAnnotation
fn default() -> BoxAnnotation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BoxAnnotation
impl<'de> Deserialize<'de> for BoxAnnotation
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 From<BoxAnnotation> for Annotation
impl From<BoxAnnotation> for Annotation
Source§fn from(value: BoxAnnotation) -> Self
fn from(value: BoxAnnotation) -> Self
Converts to this type from the input type.
Source§impl Ord for BoxAnnotation
impl Ord for BoxAnnotation
Source§fn cmp(&self, other: &BoxAnnotation) -> Ordering
fn cmp(&self, other: &BoxAnnotation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BoxAnnotation
impl PartialEq for BoxAnnotation
Source§impl PartialOrd for BoxAnnotation
impl PartialOrd for BoxAnnotation
Source§impl Serialize for BoxAnnotation
impl Serialize for BoxAnnotation
impl Eq for BoxAnnotation
impl StructuralPartialEq for BoxAnnotation
Auto Trait Implementations§
impl Freeze for BoxAnnotation
impl RefUnwindSafe for BoxAnnotation
impl Send for BoxAnnotation
impl Sync for BoxAnnotation
impl Unpin for BoxAnnotation
impl UnwindSafe for BoxAnnotation
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