pub struct AdapterItemBinding {
pub template: Option<ListItemTemplate>,
pub text: HashMap<String, String>,
pub images: HashMap<String, String>,
}Expand description
Additional text and drawable bindings for one ListView or GridView item.
Fields§
§template: Option<ListItemTemplate>Optional XML layout override for this item; otherwise the adapter default is used.
text: HashMap<String, String>§images: HashMap<String, String>Trait Implementations§
Source§impl Clone for AdapterItemBinding
impl Clone for AdapterItemBinding
Auto Trait Implementations§
impl Forget for AdapterItemBinding
impl Freeze for AdapterItemBinding
impl Move for AdapterItemBinding
impl RefUnwindSafe for AdapterItemBinding
impl Send for AdapterItemBinding
impl Sync for AdapterItemBinding
impl Unpin for AdapterItemBinding
impl UnsafeUnpin for AdapterItemBindingwhere
&'static Node: UnsafeUnpin,
&'static str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
impl UnwindSafe for AdapterItemBinding
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