Skip to main content

InnerNodeEditorComputations

Struct InnerNodeEditorComputations 

Source
pub struct InnerNodeEditorComputations {
Show 20 fields pub bezier_min_offset: Property<f32>, pub grid_spacing: Property<LogicalLength>, pub compute_link_path: Callback<(i32, i32, i32), LinkPath>, pub compute_link_preview_path: Callback<(f32, f32, f32, f32, f32, f32), SharedString>, pub compute_pin_at: Callback<(f32, f32, f32), i32>, pub configuration_changed: Callback<(f32, f32), ()>, pub group_collapsed: Callback<(i32, i32), bool>, pub group_in_drag: Callback<(i32, i32, i32), bool>, pub request_grid_update: Callback<(), ()>, pub viewport_changed: Callback<(f32, f32, f32), ()>, pub viewport_resized: Callback<(f32, f32), ()>, pub callback_tracker_compute_link_path: Property<()>, pub callback_tracker_compute_link_preview_path: Property<()>, pub callback_tracker_compute_pin_at: Property<()>, pub callback_tracker_configuration_changed: Property<()>, pub callback_tracker_group_collapsed: Property<()>, pub callback_tracker_group_in_drag: Property<()>, pub callback_tracker_request_grid_update: Property<()>, pub callback_tracker_viewport_changed: Property<()>, pub callback_tracker_viewport_resized: Property<()>, /* private fields */
}

Fields§

§bezier_min_offset: Property<f32>§grid_spacing: Property<LogicalLength>§compute_link_path: Callback<(i32, i32, i32), LinkPath>§compute_link_preview_path: Callback<(f32, f32, f32, f32, f32, f32), SharedString>§compute_pin_at: Callback<(f32, f32, f32), i32>§configuration_changed: Callback<(f32, f32), ()>§group_collapsed: Callback<(i32, i32), bool>§group_in_drag: Callback<(i32, i32, i32), bool>§request_grid_update: Callback<(), ()>§viewport_changed: Callback<(f32, f32, f32), ()>§viewport_resized: Callback<(f32, f32), ()>§callback_tracker_compute_link_path: Property<()>§callback_tracker_compute_link_preview_path: Property<()>§callback_tracker_compute_pin_at: Property<()>§callback_tracker_configuration_changed: Property<()>§callback_tracker_group_collapsed: Property<()>§callback_tracker_group_in_drag: Property<()>§callback_tracker_request_grid_update: Property<()>§callback_tracker_viewport_changed: Property<()>§callback_tracker_viewport_resized: Property<()>

Implementations§

Source§

impl InnerNodeEditorComputations

Source

pub const FIELD_OFFSETS: InnerNodeEditorComputationsFieldsOffsets = InnerNodeEditorComputationsFieldsOffsets

Return a zero-sized helper whose methods return field offsets.

Trait Implementations§

Source§

impl Default for InnerNodeEditorComputations

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'__dummy_lifetime> Unpin for InnerNodeEditorComputations
where __MustNotImplUnpin<'__dummy_lifetime>: Unpin,

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.