pub struct PaneBackdrop<V> { /* private fields */ }

Implementations§

source§

impl<V> PaneBackdrop<V>

source

pub fn new(pane_item_view: usize, child: AnyElement<V>) -> Self

Trait Implementations§

source§

impl<V: 'static> Element<V> for PaneBackdrop<V>

§

type LayoutState = ()

§

type PaintState = ()

source§

fn layout( &mut self, constraint: SizeConstraint, view: &mut V, cx: &mut ViewContext<'_, '_, V> ) -> (Vector2F, Self::LayoutState)

source§

fn paint( &mut self, bounds: RectF, visible_bounds: RectF, _: &mut Self::LayoutState, view: &mut V, cx: &mut ViewContext<'_, '_, V> ) -> Self::PaintState

source§

fn rect_for_text_range( &self, range_utf16: Range<usize>, _bounds: RectF, _visible_bounds: RectF, _layout: &Self::LayoutState, _paint: &Self::PaintState, view: &V, cx: &ViewContext<'_, '_, V> ) -> Option<RectF>

source§

fn debug( &self, _bounds: RectF, _layout: &Self::LayoutState, _paint: &Self::PaintState, view: &V, cx: &ViewContext<'_, '_, V> ) -> Value

§

fn view_name(&self) -> &'static str

§

fn metadata(&self) -> Option<&(dyn Any + 'static)>

§

fn into_any(self) -> AnyElement<V>where Self: 'static + Sized,

§

fn into_any_named(self, name: impl Into<Cow<'static, str>>) -> AnyElement<V>where Self: 'static + Sized,

§

fn into_root_element(self, cx: &ViewContext<'_, '_, V>) -> RootElement<V>where Self: 'static + Sized,

§

fn constrained(self) -> ConstrainedBox<V>where Self: 'static + Sized,

§

fn aligned(self) -> Align<V>where Self: 'static + Sized,

§

fn clipped(self) -> Clipped<V>where Self: 'static + Sized,

§

fn contained(self) -> Container<V>where Self: 'static + Sized,

§

fn expanded(self) -> Expanded<V>where Self: 'static + Sized,

§

fn flex(self, flex: f32, expanded: bool) -> FlexItem<V>where Self: 'static + Sized,

§

fn flex_float(self) -> FlexItem<V>where Self: 'static + Sized,

§

fn with_dynamic_tooltip( self, tag: TypeTag, id: usize, text: impl Into<Cow<'static, str>>, action: Option<Box<dyn Action, Global>>, style: TooltipStyle, cx: &mut ViewContext<'_, '_, V> ) -> Tooltip<V>where Self: 'static + Sized,

§

fn with_tooltip<Tag>( self, id: usize, text: impl Into<Cow<'static, str>>, action: Option<Box<dyn Action, Global>>, style: TooltipStyle, cx: &mut ViewContext<'_, '_, V> ) -> Tooltip<V>where Tag: 'static, Self: 'static + Sized,

§

fn provide_resize_bounds<Tag>(self) -> BoundsProvider<V, Tag>where Tag: 'static, Self: 'static + Sized,

Uses the the given element to calculate resizes for the given tag
§

fn resizable<Tag>( self, side: HandleSide, size: f32, on_resize: impl FnMut(&mut V, Option<f32>, &mut ViewContext<'_, '_, V>) + 'static ) -> Resizable<V>where Tag: 'static, Self: 'static + Sized,

Calls the given closure with the new size of the element whenever the handle is dragged. This will be calculated in relation to the bounds provided by the given tag
§

fn mouse<Tag>(self, region_id: usize) -> MouseEventHandler<V>where Tag: 'static, Self: Sized,

§

fn component(self) -> StatelessElementAdapterwhere Self: Sized,

§

fn stateful_component(self) -> StatefulElementAdapter<V>where Self: Sized,

§

fn styleable_component(self) -> StylableAdapter<StatelessElementAdapter>where Self: Sized,

Auto Trait Implementations§

§

impl<V> !RefUnwindSafe for PaneBackdrop<V>

§

impl<V> !Send for PaneBackdrop<V>

§

impl<V> !Sync for PaneBackdrop<V>

§

impl<V> Unpin for PaneBackdrop<V>

§

impl<V> !UnwindSafe for PaneBackdrop<V>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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.

§

impl<S> FromSample<S> for S

§

fn from_sample_(s: S) -> S

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere 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.

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T, U> ToSample<U> for Twhere U: FromSample<T>,

§

fn to_sample_(self) -> U

source§

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

§

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 Twhere U: TryFrom<T>,

§

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

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
§

impl<S, T> Duplex<S> for Twhere T: FromSample<S> + ToSample<S>,