pub struct ViewportState<'a>(pub Pin<Rc<InnerViewportState>>, pub PhantomData<&'a InnerViewportState>);Tuple Fields§
§0: Pin<Rc<InnerViewportState>>§1: PhantomData<&'a InnerViewportState>Implementations§
Trait Implementations§
Source§impl<'a> Global<'a, NodeEditor> for ViewportState<'a>
impl<'a> Global<'a, NodeEditor> for ViewportState<'a>
Source§type StaticSelf = ViewportState<'static>
type StaticSelf = ViewportState<'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 ViewportState<'static>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ViewportState<'a>
impl<'a> !Send for ViewportState<'a>
impl<'a> !Sync for ViewportState<'a>
impl<'a> !UnwindSafe for ViewportState<'a>
impl<'a> Freeze for ViewportState<'a>
impl<'a> Unpin for ViewportState<'a>
impl<'a> UnsafeUnpin for ViewportState<'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