pub struct FlowNotePosition {
pub x: f64,
pub y: f64,
}Expand description
FlowNotePosition : Position of the note in the flow editor
Fields§
§x: f64X coordinate
y: f64Y coordinate
Implementations§
Source§impl FlowNotePosition
impl FlowNotePosition
Sourcepub fn new(x: f64, y: f64) -> FlowNotePosition
pub fn new(x: f64, y: f64) -> FlowNotePosition
Position of the note in the flow editor
Trait Implementations§
Source§impl Clone for FlowNotePosition
impl Clone for FlowNotePosition
Source§fn clone(&self) -> FlowNotePosition
fn clone(&self) -> FlowNotePosition
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 FlowNotePosition
impl Debug for FlowNotePosition
Source§impl Default for FlowNotePosition
impl Default for FlowNotePosition
Source§fn default() -> FlowNotePosition
fn default() -> FlowNotePosition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FlowNotePosition
impl<'de> Deserialize<'de> for FlowNotePosition
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 PartialEq for FlowNotePosition
impl PartialEq for FlowNotePosition
Source§impl Serialize for FlowNotePosition
impl Serialize for FlowNotePosition
impl StructuralPartialEq for FlowNotePosition
Auto Trait Implementations§
impl Freeze for FlowNotePosition
impl RefUnwindSafe for FlowNotePosition
impl Send for FlowNotePosition
impl Sync for FlowNotePosition
impl Unpin for FlowNotePosition
impl UnwindSafe for FlowNotePosition
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