Struct BoardLaneProps
pub struct BoardLaneProps {
pub key: String,
pub item: Option<ResourceId>,
pub title: Option<String>,
pub count: Option<i64>,
pub action: Option<String>,
pub cards: Vec<BoardCardProps>,
pub foot: Option<Box<dyn Widget>>,
pub act: Event,
pub drop: Event,
}Expand description
One lane of a board: a heading and its cards, in order.
Fields§
§key: StringThe lane’s stable key.
item: Option<ResourceId>The resource the lane stands for: a column, a status.
title: Option<String>What the lane is called, as its heading.
count: Option<i64>How many cards the lane holds, beside its heading.
action: Option<String>The label of the one action that adds to the lane, at its foot under the cards: “New
card”. Drawn there, not in the heading, so the lane has one add and it is where the
cards end; a lane that gives a foot of its own says it there instead.
cards: Vec<BoardCardProps>The cards, in order.
foot: Option<Box<dyn Widget>>What stands at the lane’s foot, under its cards: the entry that adds to the lane. It stays in reach while the cards scroll above it.
act: EventThe lane’s action was pressed.
drop: EventA card was dropped into the lane: carries the card and its place among the lane’s other cards, from 0. A card that takes drops itself reports those that land just before it.
Trait Implementations§
§impl Component for BoardLaneProps
impl Component for BoardLaneProps
fn describe() -> Description
§fn from_source(source: &mut dyn Source) -> Result<BoardLaneProps, Error>
fn from_source(source: &mut dyn Source) -> Result<BoardLaneProps, Error>
source gives. Read more§impl Default for BoardLaneProps
impl Default for BoardLaneProps
§fn default() -> BoardLaneProps
fn default() -> BoardLaneProps
Auto Trait Implementations§
impl Freeze for BoardLaneProps
impl !RefUnwindSafe for BoardLaneProps
impl !Send for BoardLaneProps
impl !Sync for BoardLaneProps
impl Unpin for BoardLaneProps
impl UnsafeUnpin for BoardLaneProps
impl !UnwindSafe for BoardLaneProps
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§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>
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>
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