pub struct BridgeSupportMatrix {
pub supported_bridges: BTreeSet<PluginBridgeKind>,
pub supported_adapter_families: BTreeSet<String>,
pub supported_compatibility_modes: BTreeSet<PluginCompatibilityMode>,
pub supported_compatibility_shims: BTreeSet<PluginCompatibilityShim>,
pub supported_compatibility_shim_profiles: BTreeMap<PluginCompatibilityShim, PluginCompatibilityShimSupport>,
}Fields§
§supported_bridges: BTreeSet<PluginBridgeKind>§supported_adapter_families: BTreeSet<String>§supported_compatibility_modes: BTreeSet<PluginCompatibilityMode>§supported_compatibility_shims: BTreeSet<PluginCompatibilityShim>§supported_compatibility_shim_profiles: BTreeMap<PluginCompatibilityShim, PluginCompatibilityShimSupport>Implementations§
Source§impl BridgeSupportMatrix
impl BridgeSupportMatrix
pub fn is_bridge_supported(&self, bridge_kind: PluginBridgeKind) -> bool
pub fn is_adapter_family_supported(&self, adapter_family: &str) -> bool
pub fn is_compatibility_mode_supported( &self, compatibility_mode: PluginCompatibilityMode, ) -> bool
pub fn is_compatibility_shim_supported( &self, compatibility_shim: Option<&PluginCompatibilityShim>, ) -> bool
pub fn compatibility_shim_support_issue( &self, ir: &PluginIR, compatibility_shim: Option<&PluginCompatibilityShim>, ) -> Option<String>
pub fn compatibility_shim_support_profile( &self, compatibility_shim: Option<&PluginCompatibilityShim>, ) -> Option<&PluginCompatibilityShimSupport>
Trait Implementations§
Source§impl Clone for BridgeSupportMatrix
impl Clone for BridgeSupportMatrix
Source§fn clone(&self) -> BridgeSupportMatrix
fn clone(&self) -> BridgeSupportMatrix
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BridgeSupportMatrix
impl Debug for BridgeSupportMatrix
Source§impl Default for BridgeSupportMatrix
impl Default for BridgeSupportMatrix
Source§impl<'de> Deserialize<'de> for BridgeSupportMatrix
impl<'de> Deserialize<'de> for BridgeSupportMatrix
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BridgeSupportMatrix
impl PartialEq for BridgeSupportMatrix
Source§impl Serialize for BridgeSupportMatrix
impl Serialize for BridgeSupportMatrix
impl Eq for BridgeSupportMatrix
impl StructuralPartialEq for BridgeSupportMatrix
Auto Trait Implementations§
impl Freeze for BridgeSupportMatrix
impl RefUnwindSafe for BridgeSupportMatrix
impl Send for BridgeSupportMatrix
impl Sync for BridgeSupportMatrix
impl Unpin for BridgeSupportMatrix
impl UnsafeUnpin for BridgeSupportMatrix
impl UnwindSafe for BridgeSupportMatrix
Blanket Implementations§
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