pub trait ICoreWebView2Notification_Impl: IUnknownImpl {
Show 18 methods
// Required methods
fn CloseRequested(
&self,
eventhandler: Ref<'_, ICoreWebView2NotificationCloseRequestedEventHandler>,
) -> Result<i64>;
fn RemoveCloseRequested(&self, token: i64) -> Result<()>;
fn ReportShown(&self) -> Result<()>;
fn ReportClicked(&self) -> Result<()>;
fn ReportClosed(&self) -> Result<()>;
fn Body(&self) -> Result<PWSTR>;
fn Direction(&self) -> Result<COREWEBVIEW2_TEXT_DIRECTION_KIND>;
fn Language(&self) -> Result<PWSTR>;
fn Tag(&self) -> Result<PWSTR>;
fn IconUri(&self) -> Result<PWSTR>;
fn Title(&self) -> Result<PWSTR>;
fn BadgeUri(&self) -> Result<PWSTR>;
fn BodyImageUri(&self) -> Result<PWSTR>;
fn ShouldRenotify(&self) -> Result<BOOL>;
fn RequiresInteraction(&self) -> Result<BOOL>;
fn IsSilent(&self) -> Result<BOOL>;
fn Timestamp(&self) -> Result<f64>;
fn GetVibrationPattern(
&self,
count: *mut u32,
vibrationpattern: *mut *mut u64,
) -> Result<()>;
}Required Methods§
fn CloseRequested( &self, eventhandler: Ref<'_, ICoreWebView2NotificationCloseRequestedEventHandler>, ) -> Result<i64>
fn RemoveCloseRequested(&self, token: i64) -> Result<()>
fn ReportShown(&self) -> Result<()>
fn ReportClicked(&self) -> Result<()>
fn ReportClosed(&self) -> Result<()>
fn Body(&self) -> Result<PWSTR>
fn Direction(&self) -> Result<COREWEBVIEW2_TEXT_DIRECTION_KIND>
fn Language(&self) -> Result<PWSTR>
fn Tag(&self) -> Result<PWSTR>
fn IconUri(&self) -> Result<PWSTR>
fn Title(&self) -> Result<PWSTR>
fn BadgeUri(&self) -> Result<PWSTR>
fn BodyImageUri(&self) -> Result<PWSTR>
fn ShouldRenotify(&self) -> Result<BOOL>
fn RequiresInteraction(&self) -> Result<BOOL>
fn IsSilent(&self) -> Result<BOOL>
fn Timestamp(&self) -> Result<f64>
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".