pub struct GizmoSubscriber {
    pub gizmos: EnumMap<GizmoSubscription, GizmoContext>,
    pub range: f32,
}Expand description
A component to subscribe to certain visual debug information.
Fields§
§gizmos: EnumMap<GizmoSubscription, GizmoContext>§range: f32The range of the debug drawing, in world space.
Trait Implementations§
Source§impl Component for GizmoSubscriber
 
impl Component for GizmoSubscriber
Source§type Storage = DenseVecStorage<GizmoSubscriber>
 
type Storage = DenseVecStorage<GizmoSubscriber>
Associated storage type for this component.
Source§impl Default for GizmoSubscriber
 
impl Default for GizmoSubscriber
Source§fn default() -> GizmoSubscriber
 
fn default() -> GizmoSubscriber
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GizmoSubscriber
impl RefUnwindSafe for GizmoSubscriber
impl Send for GizmoSubscriber
impl Sync for GizmoSubscriber
impl Unpin for GizmoSubscriber
impl UnwindSafe for GizmoSubscriber
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
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
 
impl<T> Pointable for T
Source§impl<Context> SubContext<Context> for Context
 
impl<Context> SubContext<Context> for Context
fn sub_context(self) -> Context
§impl<T> TryDefault for Twhere
    T: Default,
 
impl<T> TryDefault for Twhere
    T: Default,
§fn try_default() -> Result<T, String>
 
fn try_default() -> Result<T, String>
Tries to create the default.
§fn unwrap_default() -> Self
 
fn unwrap_default() -> Self
Calls 
try_default and panics on an error case.