pub struct StorageFileToWriteStreamConverter;Expand description
Converts a storage file to a write stream: the task of opening the stream
(TaskHandle<std::io::Result<Box<dyn Write>>>).
Implementations§
Source§impl StorageFileToWriteStreamConverter
impl StorageFileToWriteStreamConverter
Sourcepub fn instance() -> Rc<StorageFileToWriteStreamConverter>
pub fn instance() -> Rc<StorageFileToWriteStreamConverter>
Gets a shared instance of the converter (StorageFileToWriteStreamConverter.Instance).
Trait Implementations§
Source§impl IValueConverter for StorageFileToWriteStreamConverter
impl IValueConverter for StorageFileToWriteStreamConverter
Source§fn convert(
&self,
value: Option<&BoxedValue>,
_target_type: ValueType,
_parameter: Option<&BoxedValue>,
_culture: &CultureInfo,
) -> Result<Option<BoxedValue>, BindingError>
fn convert( &self, value: Option<&BoxedValue>, _target_type: ValueType, _parameter: Option<&BoxedValue>, _culture: &CultureInfo, ) -> Result<Option<BoxedValue>, BindingError>
Converts a value on its way from the binding source to the target.
Source§fn convert_back(
&self,
_value: Option<&BoxedValue>,
_target_type: ValueType,
_parameter: Option<&BoxedValue>,
_culture: &CultureInfo,
) -> Result<Option<BoxedValue>, BindingError>
fn convert_back( &self, _value: Option<&BoxedValue>, _target_type: ValueType, _parameter: Option<&BoxedValue>, _culture: &CultureInfo, ) -> Result<Option<BoxedValue>, BindingError>
Converts a value on its way from the binding target to the source.
Source§impl MarkupTyped for StorageFileToWriteStreamConverter
impl MarkupTyped for StorageFileToWriteStreamConverter
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Auto Trait Implementations§
impl Freeze for StorageFileToWriteStreamConverter
impl RefUnwindSafe for StorageFileToWriteStreamConverter
impl Send for StorageFileToWriteStreamConverter
impl Sync for StorageFileToWriteStreamConverter
impl Unpin for StorageFileToWriteStreamConverter
impl UnsafeUnpin for StorageFileToWriteStreamConverter
impl UnwindSafe for StorageFileToWriteStreamConverter
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more