pub struct NodeStyleDefaults<'a>(pub Pin<Rc<InnerNodeStyleDefaults>>, pub PhantomData<&'a InnerNodeStyleDefaults>);Tuple Fields§
§0: Pin<Rc<InnerNodeStyleDefaults>>§1: PhantomData<&'a InnerNodeStyleDefaults>Implementations§
Source§impl<'a> NodeStyleDefaults<'a>
impl<'a> NodeStyleDefaults<'a>
pub fn get_grid_spacing(&self) -> Coord
pub fn set_grid_spacing(&self, value: Coord)
pub fn invoke_input_pin_relative_x(&self) -> Coord
pub fn invoke_input_pin_relative_y(&self) -> Coord
pub fn invoke_input_pin_x(&self, arg_0: f32, arg_1: f32, arg_2: Coord) -> Coord
pub fn invoke_input_pin_y(&self, arg_0: f32, arg_1: f32, arg_2: Coord) -> Coord
pub fn invoke_output_pin_relative_y(&self) -> Coord
pub fn get_pin_margin(&self) -> Coord
pub fn set_pin_margin(&self, value: Coord)
pub fn get_pin_size(&self) -> Coord
pub fn set_pin_size(&self, value: Coord)
pub fn invoke_screen_x(&self, arg_0: f32, arg_1: f32, arg_2: Coord) -> Coord
pub fn invoke_screen_y(&self, arg_0: f32, arg_1: f32, arg_2: Coord) -> Coord
pub fn get_title_height(&self) -> Coord
pub fn set_title_height(&self, value: Coord)
Trait Implementations§
Source§impl<'a> Global<'a, NodeEditor> for NodeStyleDefaults<'a>
impl<'a> Global<'a, NodeEditor> for NodeStyleDefaults<'a>
Source§type StaticSelf = NodeStyleDefaults<'static>
type StaticSelf = NodeStyleDefaults<'static>
The
Self type, with a 'static lifetime.Source§fn get(component: &'a NodeEditor) -> Self
fn get(component: &'a NodeEditor) -> Self
Returns a reference to the global.
impl StrongHandle for NodeStyleDefaults<'static>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NodeStyleDefaults<'a>
impl<'a> !Send for NodeStyleDefaults<'a>
impl<'a> !Sync for NodeStyleDefaults<'a>
impl<'a> !UnwindSafe for NodeStyleDefaults<'a>
impl<'a> Freeze for NodeStyleDefaults<'a>
impl<'a> Unpin for NodeStyleDefaults<'a>
impl<'a> UnsafeUnpin for NodeStyleDefaults<'a>
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