pub struct GraggleEdge {
pub from: usize,
pub to: usize,
pub pseudo: bool,
}
Fields§
§from: usize
§to: usize
§pseudo: bool
Trait Implementations§
Source§impl From<GraggleEdge> for JsValue
impl From<GraggleEdge> for JsValue
Source§fn from(value: GraggleEdge) -> Self
fn from(value: GraggleEdge) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for GraggleEdge
impl FromWasmAbi for GraggleEdge
Source§impl IntoWasmAbi for GraggleEdge
impl IntoWasmAbi for GraggleEdge
Source§impl LongRefFromWasmAbi for GraggleEdge
impl LongRefFromWasmAbi for GraggleEdge
Source§impl OptionFromWasmAbi for GraggleEdge
impl OptionFromWasmAbi for GraggleEdge
Source§impl OptionIntoWasmAbi for GraggleEdge
impl OptionIntoWasmAbi for GraggleEdge
Source§impl RefFromWasmAbi for GraggleEdge
impl RefFromWasmAbi for GraggleEdge
Source§type Anchor = RcRef<GraggleEdge>
type Anchor = RcRef<GraggleEdge>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for GraggleEdge
impl RefMutFromWasmAbi for GraggleEdge
Source§impl Serialize for GraggleEdge
impl Serialize for GraggleEdge
Source§impl TryFromJsValue for GraggleEdge
impl TryFromJsValue for GraggleEdge
Source§impl VectorFromWasmAbi for GraggleEdge
impl VectorFromWasmAbi for GraggleEdge
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[GraggleEdge]>
Source§impl VectorIntoJsValue for GraggleEdge
impl VectorIntoJsValue for GraggleEdge
fn vector_into_jsvalue(vector: Box<[GraggleEdge]>) -> JsValue
Source§impl VectorIntoWasmAbi for GraggleEdge
impl VectorIntoWasmAbi for GraggleEdge
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[GraggleEdge]>) -> Self::Abi
Source§impl WasmDescribeVector for GraggleEdge
impl WasmDescribeVector for GraggleEdge
impl SupportsConstructor for GraggleEdge
impl SupportsInstanceProperty for GraggleEdge
impl SupportsStaticProperty for GraggleEdge
Auto Trait Implementations§
impl Freeze for GraggleEdge
impl RefUnwindSafe for GraggleEdge
impl Send for GraggleEdge
impl Sync for GraggleEdge
impl Unpin for GraggleEdge
impl UnwindSafe for GraggleEdge
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.