pub trait ICoreWebView2Notification_Impl: IUnknownImpl {
Show 18 methods
// Required methods
fn add_CloseRequested(
&self,
eventhandler: Ref<'_, ICoreWebView2NotificationCloseRequestedEventHandler>,
token: *mut i64,
) -> Result<()>;
fn remove_CloseRequested(&self, token: i64) -> Result<()>;
fn ReportShown(&self) -> Result<()>;
fn ReportClicked(&self) -> Result<()>;
fn ReportClosed(&self) -> Result<()>;
fn Body(&self, value: *mut PWSTR) -> Result<()>;
fn Direction(
&self,
value: *mut COREWEBVIEW2_TEXT_DIRECTION_KIND,
) -> Result<()>;
fn Language(&self, value: *mut PWSTR) -> Result<()>;
fn Tag(&self, value: *mut PWSTR) -> Result<()>;
fn IconUri(&self, value: *mut PWSTR) -> Result<()>;
fn Title(&self, value: *mut PWSTR) -> Result<()>;
fn BadgeUri(&self, value: *mut PWSTR) -> Result<()>;
fn BodyImageUri(&self, value: *mut PWSTR) -> Result<()>;
fn ShouldRenotify(&self, value: *mut BOOL) -> Result<()>;
fn RequiresInteraction(&self, value: *mut BOOL) -> Result<()>;
fn IsSilent(&self, value: *mut BOOL) -> Result<()>;
fn Timestamp(&self, value: *mut f64) -> Result<()>;
fn GetVibrationPattern(
&self,
count: *mut u32,
vibrationpattern: *mut *mut u64,
) -> Result<()>;
}
Required Methods§
fn add_CloseRequested( &self, eventhandler: Ref<'_, ICoreWebView2NotificationCloseRequestedEventHandler>, token: *mut i64, ) -> Result<()>
fn remove_CloseRequested(&self, token: i64) -> Result<()>
fn ReportShown(&self) -> Result<()>
fn ReportClicked(&self) -> Result<()>
fn ReportClosed(&self) -> Result<()>
fn Body(&self, value: *mut PWSTR) -> Result<()>
fn Direction(&self, value: *mut COREWEBVIEW2_TEXT_DIRECTION_KIND) -> Result<()>
fn Language(&self, value: *mut PWSTR) -> Result<()>
fn Tag(&self, value: *mut PWSTR) -> Result<()>
fn IconUri(&self, value: *mut PWSTR) -> Result<()>
fn Title(&self, value: *mut PWSTR) -> Result<()>
fn BadgeUri(&self, value: *mut PWSTR) -> Result<()>
fn BodyImageUri(&self, value: *mut PWSTR) -> Result<()>
fn ShouldRenotify(&self, value: *mut BOOL) -> Result<()>
fn RequiresInteraction(&self, value: *mut BOOL) -> Result<()>
fn IsSilent(&self, value: *mut BOOL) -> Result<()>
fn Timestamp(&self, value: *mut f64) -> Result<()>
fn GetVibrationPattern( &self, count: *mut u32, vibrationpattern: *mut *mut u64, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.