Struct zng_app::widget::node::DefaultPanelListData
source · pub struct DefaultPanelListData {
pub child_offset: PxVector,
pub define_reference_frame: bool,
/* private fields */
}
Expand description
Default PanelList
associated data.
Fields§
§child_offset: PxVector
Child offset to be used in the default render_all
and render_update_all
implementations.
define_reference_frame: bool
If a new reference frame should be created for the item during render.
Trait Implementations§
source§impl Clone for DefaultPanelListData
impl Clone for DefaultPanelListData
source§fn clone(&self) -> DefaultPanelListData
fn clone(&self) -> DefaultPanelListData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DefaultPanelListData
impl Debug for DefaultPanelListData
source§impl Default for DefaultPanelListData
impl Default for DefaultPanelListData
source§fn default() -> DefaultPanelListData
fn default() -> DefaultPanelListData
Returns the “default value” for a type. Read more
source§impl PanelListData for DefaultPanelListData
impl PanelListData for DefaultPanelListData
source§fn child_offset(&self) -> PxVector
fn child_offset(&self) -> PxVector
Gets the child offset to be used in the default
render_all
and render_update_all
implementations.source§fn define_reference_frame(&self) -> bool
fn define_reference_frame(&self) -> bool
If a new reference frame should be created for the item during render.
source§fn commit(&mut self) -> PanelListDataChanges
fn commit(&mut self) -> PanelListDataChanges
Auto Trait Implementations§
impl Freeze for DefaultPanelListData
impl RefUnwindSafe for DefaultPanelListData
impl Send for DefaultPanelListData
impl Sync for DefaultPanelListData
impl Unpin for DefaultPanelListData
impl UnwindSafe for DefaultPanelListData
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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