pub struct XYPoint { /* private fields */ }
Implementations§
§impl XYPoint
impl XYPoint
pub fn new() -> Self
pub fn get_x(&mut self) -> &mut NumberOrDateString
pub fn x(self, value: impl Into<NumberOrDateString>) -> XYPoint
pub fn get_y(&mut self) -> &mut NumberString
pub fn y(self, value: impl Into<NumberString>) -> XYPoint
pub fn get_description(&mut self) -> &mut Value
pub fn description(self, value: impl Into<Value>) -> XYPoint
Trait Implementations§
Source§impl<'de> Deserialize<'de> for XYPoint
impl<'de> Deserialize<'de> for XYPoint
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<(NumberOrDateString, NumberString, Option<Value>)> for XYPoint
impl From<(NumberOrDateString, NumberString, Option<Value>)> for XYPoint
Source§fn from((x, y, d): (NumberOrDateString, NumberString, Option<Value>)) -> Self
fn from((x, y, d): (NumberOrDateString, NumberString, Option<Value>)) -> Self
Converts to this type from the input type.
Source§impl Ord for XYPoint
impl Ord for XYPoint
Source§impl PartialOrd for XYPoint
impl PartialOrd for XYPoint
impl Eq for XYPoint
impl StructuralPartialEq for XYPoint
Auto Trait Implementations§
impl Freeze for XYPoint
impl RefUnwindSafe for XYPoint
impl Send for XYPoint
impl Sync for XYPoint
impl Unpin for XYPoint
impl UnwindSafe for XYPoint
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