[−][src]Struct rg3d_ui::list_view::ListViewItem
Implementations
impl<M: MessageData, C: Control<M, C>> ListViewItem<M, C>
[src]
Methods from Deref<Target = Widget<M, C>>
pub fn handle(&self) -> Handle<UINode<M, C>>
[src]
pub fn name(&self) -> &str
[src]
pub fn set_name<P: AsRef<str>>(&mut self, name: P) -> &mut Self
[src]
pub fn actual_size(&self) -> Vector2<f32>
[src]
pub fn set_min_size(&mut self, value: Vector2<f32>) -> &mut Self
[src]
pub fn min_size(&self) -> Vector2<f32>
[src]
pub fn min_width(&self) -> f32
[src]
pub fn min_height(&self) -> f32
[src]
pub fn is_drag_allowed(&self) -> bool
[src]
pub fn is_drop_allowed(&self) -> bool
[src]
pub fn invalidate_layout(&self)
[src]
pub fn is_hit_test_visible(&self) -> bool
[src]
pub fn set_max_size(&mut self, value: Vector2<f32>) -> &mut Self
[src]
pub fn max_size(&self) -> Vector2<f32>
[src]
pub fn max_width(&self) -> f32
[src]
pub fn max_height(&self) -> f32
[src]
pub fn set_z_index(&mut self, z_index: usize) -> &mut Self
[src]
pub fn z_index(&self) -> usize
[src]
pub fn set_background(&mut self, brush: Brush) -> &mut Self
[src]
pub fn background(&self) -> Brush
[src]
pub fn set_foreground(&mut self, brush: Brush) -> &mut Self
[src]
pub fn foreground(&self) -> Brush
[src]
pub fn set_width(&mut self, width: f32) -> &mut Self
[src]
pub fn width(&self) -> f32
[src]
pub fn is_draw_on_top(&self) -> bool
[src]
pub fn set_height(&mut self, height: f32) -> &mut Self
[src]
pub fn height(&self) -> f32
[src]
pub fn set_desired_local_position(&mut self, pos: Vector2<f32>) -> &mut Self
[src]
pub fn screen_position(&self) -> Vector2<f32>
[src]
pub fn children(&self) -> &[Handle<UINode<M, C>>]
[src]
pub fn parent(&self) -> Handle<UINode<M, C>>
[src]
pub fn set_parent(&mut self, parent: Handle<UINode<M, C>>)
[src]
pub fn column(&self) -> usize
[src]
pub fn set_row(&mut self, row: usize) -> &mut Self
[src]
pub fn row(&self) -> usize
[src]
pub fn desired_size(&self) -> Vector2<f32>
[src]
pub fn desired_local_position(&self) -> Vector2<f32>
[src]
pub fn set_visibility(&mut self, visibility: bool) -> &mut Self
[src]
pub fn is_enabled(&self, ui: &UserInterface<M, C>) -> bool
[src]
pub fn screen_bounds(&self) -> Rect<f32>
[src]
pub fn has_descendant(
&self,
node_handle: Handle<UINode<M, C>>,
ui: &UserInterface<M, C>
) -> bool
[src]
&self,
node_handle: Handle<UINode<M, C>>,
ui: &UserInterface<M, C>
) -> bool
pub fn find_by_criteria_up<Func: Fn(&UINode<M, C>) -> bool>(
&self,
ui: &UserInterface<M, C>,
func: Func
) -> Handle<UINode<M, C>>
[src]
&self,
ui: &UserInterface<M, C>,
func: Func
) -> Handle<UINode<M, C>>
Searches a node up on tree starting from given root that matches a criteria defined by a given func.
pub fn handle_routed_message(
&mut self,
_ui: &mut UserInterface<M, C>,
msg: &mut UiMessage<M, C>
)
[src]
&mut self,
_ui: &mut UserInterface<M, C>,
msg: &mut UiMessage<M, C>
)
pub fn set_vertical_alignment(
&mut self,
vertical_alignment: VerticalAlignment
) -> &mut Self
[src]
&mut self,
vertical_alignment: VerticalAlignment
) -> &mut Self
pub fn vertical_alignment(&self) -> VerticalAlignment
[src]
pub fn set_horizontal_alignment(
&mut self,
horizontal_alignment: HorizontalAlignment
) -> &mut Self
[src]
&mut self,
horizontal_alignment: HorizontalAlignment
) -> &mut Self
pub fn horizontal_alignment(&self) -> HorizontalAlignment
[src]
pub fn set_column(&mut self, column: usize) -> &mut Self
[src]
pub fn set_margin(&mut self, margin: Thickness) -> &mut Self
[src]
pub fn margin(&self) -> Thickness
[src]
pub fn measure_override(
&self,
ui: &UserInterface<M, C>,
available_size: Vector2<f32>
) -> Vector2<f32>
[src]
&self,
ui: &UserInterface<M, C>,
available_size: Vector2<f32>
) -> Vector2<f32>
pub fn arrange_override(
&self,
ui: &UserInterface<M, C>,
final_size: Vector2<f32>
) -> Vector2<f32>
[src]
&self,
ui: &UserInterface<M, C>,
final_size: Vector2<f32>
) -> Vector2<f32>
pub fn is_arrange_valid(&self) -> bool
[src]
pub fn is_measure_valid(&self) -> bool
[src]
pub fn actual_local_position(&self) -> Vector2<f32>
[src]
pub fn is_globally_visible(&self) -> bool
[src]
pub fn visibility(&self) -> bool
[src]
pub fn enabled(&self) -> bool
[src]
pub fn set_cursor(&mut self, cursor: Option<CursorIcon>)
[src]
pub fn cursor(&self) -> Option<CursorIcon>
[src]
pub fn user_data_ref<T: 'static>(&self) -> &T
[src]
Trait Implementations
impl<M: Clone + MessageData, C: Clone + Control<M, C>> Clone for ListViewItem<M, C>
[src]
pub fn clone(&self) -> ListViewItem<M, C>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<M: MessageData, C: Control<M, C>> Control<M, C> for ListViewItem<M, C>
[src]
pub fn draw(&self, drawing_context: &mut DrawingContext)
[src]
pub fn handle_routed_message(
&mut self,
ui: &mut UserInterface<M, C>,
message: &mut UiMessage<M, C>
)
[src]
&mut self,
ui: &mut UserInterface<M, C>,
message: &mut UiMessage<M, C>
)
pub fn resolve(&mut self, _node_map: &NodeHandleMapping<M, C>)
[src]
pub fn measure_override(
&self,
ui: &UserInterface<M, C>,
available_size: Vector2<f32>
) -> Vector2<f32>
[src]
&self,
ui: &UserInterface<M, C>,
available_size: Vector2<f32>
) -> Vector2<f32>
pub fn arrange_override(
&self,
ui: &UserInterface<M, C>,
final_size: Vector2<f32>
) -> Vector2<f32>
[src]
&self,
ui: &UserInterface<M, C>,
final_size: Vector2<f32>
) -> Vector2<f32>
pub fn arrange(&self, ui: &UserInterface<M, C>, final_rect: &Rect<f32>)
[src]
pub fn is_measure_valid(&self, ui: &UserInterface<M, C>) -> bool
[src]
pub fn is_arrange_valid(&self, ui: &UserInterface<M, C>) -> bool
[src]
pub fn measure(&self, ui: &UserInterface<M, C>, available_size: Vector2<f32>)
[src]
pub fn update(&mut self, _dt: f32)
[src]
pub fn preview_message(
&self,
_ui: &UserInterface<M, C>,
_message: &mut UiMessage<M, C>
)
[src]
&self,
_ui: &UserInterface<M, C>,
_message: &mut UiMessage<M, C>
)
pub fn handle_os_event(
&mut self,
_self_handle: Handle<UINode<M, C>>,
_ui: &mut UserInterface<M, C>,
_event: &OsEvent
)
[src]
&mut self,
_self_handle: Handle<UINode<M, C>>,
_ui: &mut UserInterface<M, C>,
_event: &OsEvent
)
pub fn remove_ref(&mut self, _handle: Handle<UINode<M, C>>)
[src]
impl<M: MessageData, C: Control<M, C>> Deref for ListViewItem<M, C>
[src]
type Target = Widget<M, C>
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target
[src]
impl<M: MessageData, C: Control<M, C>> DerefMut for ListViewItem<M, C>
[src]
Auto Trait Implementations
impl<M, C> !RefUnwindSafe for ListViewItem<M, C>
impl<M, C> !Send for ListViewItem<M, C>
impl<M, C> !Sync for ListViewItem<M, C>
impl<M, C> Unpin for ListViewItem<M, C> where
C: Unpin,
M: Unpin,
C: Unpin,
M: Unpin,
impl<M, C> !UnwindSafe for ListViewItem<M, C>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,