Realm

oa::ui::NodeCanvasGrid

Resolved grid spacing for one minor tier and its major cadences. Donor: oa::NodeCanvasGrid.

StRust public API

Declaration

pub struct NodeCanvasGrid { pub minor_world_step: f32, pub minor_screen_step: f32, pub origin_screen: [f32; 2], pub major_every: u32, pub super_major_every: u32, }
Public Rust declaration.

Public Methods

fn clone(&self) -> NodeCanvasGrid
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &NodeCanvasGrid) -> bool

Public Data Members

minor_world_stepf32field
minor_screen_stepf32field
origin_screen[f32; 2]field
major_everyu32field
super_major_everyu32field

Public Method Documentation

fn clone( &self ) -> NodeCanvasGrid
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &NodeCanvasGrid ) -> bool
No public source comment is attached to this declaration.