SetClipboardDataObjectAction
struct · ferroui-xaml-interactions · v0.5.0
struct SetClipboardDataObjectAction
An action that will set the data object to the clipboard.
Members
TYPEto_refclipboard_propertydata_transfer_propertyconstructnewclipboardset_clipboarddata_transferset_data_transfer
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<SetClipboardDataObjectAction>
Returns a strong reference to this object.
clipboard_property
fn clipboard_property() -> &'static StyledProperty<Option<ClipboardRef>>
Identifies the Clipboard property.
data_transfer_property
fn data_transfer_property() -> &'static StyledProperty<Option<AsyncDataTransferRef>>
Identifies the DataTransfer property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates an action.
clipboard
fn clipboard(self: &Self) -> Option<ClipboardRef>
Gets or sets the clipboard to use. This is a property of the object model.
set_clipboard
fn set_clipboard(self: &Self, value: Option<ClipboardRef>)
data_transfer
fn data_transfer(self: &Self) -> Option<AsyncDataTransferRef>
Gets or sets the data transfer content to place on the clipboard.
set_data_transfer
fn set_data_transfer(self: &Self, value: Option<AsyncDataTransferRef>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherStyledElementActionImplExtDerefUpcast<T>Upcast<SetClipboardDataObjectAction>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementActionImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.