VirtualizationInfo
struct · ferroui-controls-repeater · v0.5.0
struct VirtualizationInfo
The ownership and layout state of one realized element. The template component
is held weakly; the phased item is held strongly while phasing lasts (see data).
Members
PHASE_NOT_SPECIFIEDPHASE_REACHED_ENDINVALID_RECTnewownerindexunique_idis_pinnedpin_countis_held_by_layoutis_in_pinned_poolis_in_unique_id_reset_poolis_realizedphaseset_phasedatadata_template_componentupdate_phasing_infomust_clear_data_contextset_must_clear_data_contextkeep_aliveset_keep_aliveauto_recycle_candidateset_auto_recycle_candidatearrange_boundsset_arrange_boundsmove_ownership_to_layout_from_element_factorymove_ownership_to_layout_from_unique_id_reset_poolmove_ownership_to_layout_from_pinned_poolmove_ownership_to_element_factorymove_ownership_to_unique_id_reset_pool_from_layoutmove_ownership_to_animatormove_ownership_to_pinned_pooladd_pinremove_pinupdate_index
PHASE_NOT_SPECIFIED
const PHASE_NOT_SPECIFIED: i32
PHASE_REACHED_END
const PHASE_REACHED_END: i32
INVALID_RECT
const INVALID_RECT: Rect
new
fn new() -> Rc<Self>
owner
fn owner(self: &Self) -> ElementOwner
index
fn index(self: &Self) -> i32
unique_id
fn unique_id(self: &Self) -> String
is_pinned
fn is_pinned(self: &Self) -> bool
pin_count
fn pin_count(self: &Self) -> u32
is_held_by_layout
fn is_held_by_layout(self: &Self) -> bool
is_in_pinned_pool
fn is_in_pinned_pool(self: &Self) -> bool
is_in_unique_id_reset_pool
fn is_in_unique_id_reset_pool(self: &Self) -> bool
is_realized
fn is_realized(self: &Self) -> bool
phase
fn phase(self: &Self) -> i32
set_phase
fn set_phase(self: &Self, phase: i32)
data
fn data(self: &Self) -> Option<BoxedValue>
data_template_component
fn data_template_component(self: &Self) -> Option<Rc<dyn IDataTemplateComponent>>
update_phasing_info
fn update_phasing_info(self: &Self, phase: i32, data: Option<BoxedValue>, component: Option<Rc<dyn IDataTemplateComponent>>)
must_clear_data_context
fn must_clear_data_context(self: &Self) -> bool
set_must_clear_data_context
fn set_must_clear_data_context(self: &Self, value: bool)
keep_alive
fn keep_alive(self: &Self) -> bool
set_keep_alive
fn set_keep_alive(self: &Self, value: bool)
auto_recycle_candidate
fn auto_recycle_candidate(self: &Self) -> bool
set_auto_recycle_candidate
fn set_auto_recycle_candidate(self: &Self, value: bool)
arrange_bounds
fn arrange_bounds(self: &Self) -> Rect
set_arrange_bounds
fn set_arrange_bounds(self: &Self, value: Rect)
move_ownership_to_layout_from_element_factory
fn move_ownership_to_layout_from_element_factory(self: &Self, index: i32, unique_id: impl Into<String>)
move_ownership_to_layout_from_unique_id_reset_pool
fn move_ownership_to_layout_from_unique_id_reset_pool(self: &Self)
move_ownership_to_layout_from_pinned_pool
fn move_ownership_to_layout_from_pinned_pool(self: &Self)
move_ownership_to_element_factory
fn move_ownership_to_element_factory(self: &Self)
move_ownership_to_unique_id_reset_pool_from_layout
fn move_ownership_to_unique_id_reset_pool_from_layout(self: &Self)
move_ownership_to_animator
fn move_ownership_to_animator(self: &Self)
move_ownership_to_pinned_pool
fn move_ownership_to_pinned_pool(self: &Self)
add_pin
fn add_pin(self: &Self) -> u32
remove_pin
fn remove_pin(self: &Self) -> u32
update_index
fn update_index(self: &Self, index: i32)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyAnyValueClassDefaultsErasedDestructorIntoEitherPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.