pub struct InnerNodeStyleDefaults {
pub grid_spacing: Property<LogicalLength>,
pub pin_margin: Property<LogicalLength>,
pub pin_size: Property<LogicalLength>,
pub title_height: Property<LogicalLength>,
/* private fields */
}Fields§
§grid_spacing: Property<LogicalLength>§pin_margin: Property<LogicalLength>§pin_size: Property<LogicalLength>§title_height: Property<LogicalLength>Implementations§
Source§impl InnerNodeStyleDefaults
impl InnerNodeStyleDefaults
Sourcepub const FIELD_OFFSETS: InnerNodeStyleDefaultsFieldsOffsets = InnerNodeStyleDefaultsFieldsOffsets
pub const FIELD_OFFSETS: InnerNodeStyleDefaultsFieldsOffsets = InnerNodeStyleDefaultsFieldsOffsets
Return a zero-sized helper whose methods return field offsets.
Source§impl InnerNodeStyleDefaults
impl InnerNodeStyleDefaults
pub fn fn_input_pin_relative_x(self: Pin<&Self>) -> Coord
pub fn fn_input_pin_relative_y(self: Pin<&Self>) -> Coord
pub fn fn_input_pin_x( self: Pin<&Self>, arg_0: f32, arg_1: f32, arg_2: Coord, ) -> Coord
pub fn fn_input_pin_y( self: Pin<&Self>, arg_0: f32, arg_1: f32, arg_2: Coord, ) -> Coord
pub fn fn_output_pin_relative_y(self: Pin<&Self>) -> Coord
pub fn fn_screen_x( self: Pin<&Self>, arg_0: f32, arg_1: f32, arg_2: Coord, ) -> Coord
pub fn fn_screen_y( self: Pin<&Self>, arg_0: f32, arg_1: f32, arg_2: Coord, ) -> Coord
Trait Implementations§
Source§impl Default for InnerNodeStyleDefaults
impl Default for InnerNodeStyleDefaults
impl<'__dummy_lifetime> Unpin for InnerNodeStyleDefaultswhere
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
Auto Trait Implementations§
impl !Freeze for InnerNodeStyleDefaults
impl !RefUnwindSafe for InnerNodeStyleDefaults
impl !Send for InnerNodeStyleDefaults
impl !Sync for InnerNodeStyleDefaults
impl !UnsafeUnpin for InnerNodeStyleDefaults
impl !UnwindSafe for InnerNodeStyleDefaults
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