Struct qt_gui::q_icon_engine::AvailableSizesArgument
source · #[repr(C)]pub struct AvailableSizesArgument { /* private fields */ }
Expand description
This struct represents arguments to virtual_hook() function when id parameter is QIconEngine::AvailableSizesHook.
C++ class: QIconEngine::AvailableSizesArgument
.
This struct represents arguments to virtual_hook() function when id parameter is QIconEngine::AvailableSizesHook.
Implementations§
source§impl AvailableSizesArgument
impl AvailableSizesArgument
sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<AvailableSizesArgument>>
) -> Ref<AvailableSizesArgument>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<AvailableSizesArgument>> ) -> Ref<AvailableSizesArgument>
This struct represents arguments to virtual_hook() function when id parameter is QIconEngine::AvailableSizesHook.
Calls C++ function: QIconEngine::AvailableSizesArgument& QIconEngine::AvailableSizesArgument::operator=(const QIconEngine::AvailableSizesArgument& other)
.
This struct represents arguments to virtual_hook() function when id parameter is QIconEngine::AvailableSizesHook.
sourcepub unsafe fn new() -> CppBox<AvailableSizesArgument>
pub unsafe fn new() -> CppBox<AvailableSizesArgument>
This struct represents arguments to virtual_hook() function when id parameter is QIconEngine::AvailableSizesHook.
Calls C++ function: [constructor] void QIconEngine::AvailableSizesArgument::AvailableSizesArgument()
.
This struct represents arguments to virtual_hook() function when id parameter is QIconEngine::AvailableSizesHook.
sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<AvailableSizesArgument>>
) -> CppBox<AvailableSizesArgument>
pub unsafe fn new_copy( other: impl CastInto<Ref<AvailableSizesArgument>> ) -> CppBox<AvailableSizesArgument>
This struct represents arguments to virtual_hook() function when id parameter is QIconEngine::AvailableSizesHook.
Calls C++ function: [constructor] void QIconEngine::AvailableSizesArgument::AvailableSizesArgument(const QIconEngine::AvailableSizesArgument& other)
.
This struct represents arguments to virtual_hook() function when id parameter is QIconEngine::AvailableSizesHook.
sourcepub unsafe fn set_sizes(&self, value: impl CastInto<Ref<QListOfQSize>>)
pub unsafe fn set_sizes(&self, value: impl CastInto<Ref<QListOfQSize>>)
Sets the value of the sizes
field.
sourcepub unsafe fn sizes(&self) -> Ref<QListOfQSize>
pub unsafe fn sizes(&self) -> Ref<QListOfQSize>
Returns a reference to the sizes
field.
sourcepub unsafe fn sizes_mut(&self) -> Ref<QListOfQSize>
pub unsafe fn sizes_mut(&self) -> Ref<QListOfQSize>
Returns a mutable reference to the sizes
field.
Trait Implementations§
source§impl CppDeletable for AvailableSizesArgument
impl CppDeletable for AvailableSizesArgument
source§unsafe fn delete(&self)
unsafe fn delete(&self)
This struct represents arguments to virtual_hook() function when id parameter is QIconEngine::AvailableSizesHook.
Calls C++ function: [destructor] void QIconEngine::AvailableSizesArgument::~AvailableSizesArgument()
.
This struct represents arguments to virtual_hook() function when id parameter is QIconEngine::AvailableSizesHook.