Skip to main content

nodeeditorSharedGlobals

Struct nodeeditorSharedGlobals 

Source
pub struct nodeeditorSharedGlobals {
Show 21 fields pub global_BoxSelectionGesture: Pin<Rc<InnerBoxSelectionGesture>>, pub global_DragState: Pin<Rc<InnerDragState>>, pub global_GeometryVersion: Pin<Rc<InnerGeometryVersion>>, pub global_GroupSelectionRequest: Pin<Rc<InnerGroupSelectionRequest>>, pub global_GroupStyleDefaults: Pin<Rc<InnerGroupStyleDefaults>>, pub global_GroupVisibility: Pin<Rc<InnerGroupVisibility>>, pub global_HoverState: Pin<Rc<InnerHoverState>>, pub global_InteractionCancellation: Pin<Rc<InnerInteractionCancellation>>, pub global_LinkStatus: Pin<Rc<InnerLinkStatus>>, pub global_LinkStatusColors: Pin<Rc<InnerLinkStatusColors>>, pub global_LinkColor: Pin<Rc<InnerLinkColor>>, pub global_LinkCreation: Pin<Rc<InnerLinkCreation>>, pub global_NodeEditorComputations: Pin<Rc<InnerNodeEditorComputations>>, pub global_NodeEditorEvents: Pin<Rc<InnerNodeEditorEvents>>, pub global_NodeEditorGestureConfig: Pin<Rc<InnerNodeEditorGestureConfig>>, pub global_NodeEditorInternalCallbacks: Pin<Rc<InnerNodeEditorInternalCallbacks>>, pub global_NodeStyleDefaults: Pin<Rc<InnerNodeStyleDefaults>>, pub global_PinTypes: Pin<Rc<InnerPinTypes>>, pub global_SelectionRequest: Pin<Rc<InnerSelectionRequest>>, pub global_ViewportState: Pin<Rc<InnerViewportState>>, pub global_FluentPalette_70: Pin<Rc<InnerFluentPalette_70>>, /* private fields */
}

Fields§

§global_BoxSelectionGesture: Pin<Rc<InnerBoxSelectionGesture>>§global_DragState: Pin<Rc<InnerDragState>>§global_GeometryVersion: Pin<Rc<InnerGeometryVersion>>§global_GroupSelectionRequest: Pin<Rc<InnerGroupSelectionRequest>>§global_GroupStyleDefaults: Pin<Rc<InnerGroupStyleDefaults>>§global_GroupVisibility: Pin<Rc<InnerGroupVisibility>>§global_HoverState: Pin<Rc<InnerHoverState>>§global_InteractionCancellation: Pin<Rc<InnerInteractionCancellation>>§global_LinkStatus: Pin<Rc<InnerLinkStatus>>§global_LinkStatusColors: Pin<Rc<InnerLinkStatusColors>>§global_LinkColor: Pin<Rc<InnerLinkColor>>§global_LinkCreation: Pin<Rc<InnerLinkCreation>>§global_NodeEditorComputations: Pin<Rc<InnerNodeEditorComputations>>§global_NodeEditorEvents: Pin<Rc<InnerNodeEditorEvents>>§global_NodeEditorGestureConfig: Pin<Rc<InnerNodeEditorGestureConfig>>§global_NodeEditorInternalCallbacks: Pin<Rc<InnerNodeEditorInternalCallbacks>>§global_NodeStyleDefaults: Pin<Rc<InnerNodeStyleDefaults>>§global_PinTypes: Pin<Rc<InnerPinTypes>>§global_SelectionRequest: Pin<Rc<InnerSelectionRequest>>§global_ViewportState: Pin<Rc<InnerViewportState>>§global_FluentPalette_70: Pin<Rc<InnerFluentPalette_70>>

Implementations§

Source§

impl SharedGlobals

Source

pub fn new(root_item_tree_weak: VWeak<ItemTreeVTable>) -> Rc<Self>

Source

pub fn init_globals(self: &Rc<Self>)

Source

pub fn clone_with_window_adapter( &self, window_adapter: WindowAdapterRc, ) -> Rc<Self>

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.