Enum nuit_core::NeverView

source ·
pub enum NeverView {}
Expand description

A view type that can never be constructed.

Trait Implementations§

source§

impl Bind for NeverView

source§

fn bind(&self, _context: &Context)

source§

impl View for NeverView

source§

type Body = NeverView

source§

fn body(&self) -> Self::Body

source§

fn fire(&self, event: &Event, id_path: &IdPath)

source§

fn render(&self, context: &Context) -> Node

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> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> IdentifyExt for T

source§

fn identify(self, id: impl Into<Id>) -> Identified<T>

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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.
source§

impl<T> ViewExt for T
where T: View,

source§

fn modifier(self, modifier: ModifierNode) -> Modified<Self>

source§

fn overlay_at<O>(self, alignment: Alignment, overlayed: O) -> Overlay<Self, O>

source§

fn overlay<O>(self, overlayed: O) -> Overlay<Self, O>

source§

fn padding(self, insets: impl Into<Insets>) -> Modified<Self>

source§

fn position(self, position: Vec2<f64>) -> Modified<Self>

source§

fn frame(self, frame: impl Into<Frame>) -> Modified<Self>

source§

fn on_appear(self, action: impl Fn() + 'static) -> Handler<Self, impl Fn(Event)>

source§

fn on_disappear( self, action: impl Fn() + 'static, ) -> Handler<Self, impl Fn(Event)>