pub struct Unsupported {
pub feature: Feature,
pub version: LuaVersion,
}Expand description
A typed record that a Feature absent on a given LuaVersion was
requested at a host-API verb (issue #234). Carried by the public embedding
error so a host can match the cause; see omnilua::Error::as_unsupported.
Fields§
§feature: FeatureThe feature that was requested.
version: LuaVersionThe version that lacks it.
Trait Implementations§
Source§impl Clone for Unsupported
impl Clone for Unsupported
Source§fn clone(&self) -> Unsupported
fn clone(&self) -> Unsupported
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Unsupported
Source§impl Debug for Unsupported
impl Debug for Unsupported
Source§impl Display for Unsupported
impl Display for Unsupported
impl Eq for Unsupported
Source§impl PartialEq for Unsupported
impl PartialEq for Unsupported
Source§fn eq(&self, other: &Unsupported) -> bool
fn eq(&self, other: &Unsupported) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Unsupported
Auto Trait Implementations§
impl Freeze for Unsupported
impl RefUnwindSafe for Unsupported
impl Send for Unsupported
impl Sync for Unsupported
impl Unpin for Unsupported
impl UnsafeUnpin for Unsupported
impl UnwindSafe for Unsupported
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