Struct valueAsNumber
pub struct valueAsNumber;
Trait Implementations§
§impl BindDescriptor for valueAsNumber
impl BindDescriptor for valueAsNumber
§const TARGET_PROPERTY: &'static str = "valueAsNumber"
const TARGET_PROPERTY: &'static str = "valueAsNumber"
The name of the property to which we are binding.
§const CONVERT_FROM_JS: for<'a> fn(_: &'a JsValue) -> Option<<valueAsNumber as BindDescriptor>::ValueTy> = {sycamore_web::wasm_bindgen::JsValue::as_f64 as for<'a> fn(&'a sycamore_web::wasm_bindgen::JsValue) -> std::option::Option<<sycamore_web::bind::valueAsNumber as sycamore_web::bind::BindDescriptor>::ValueTy>}
const CONVERT_FROM_JS: for<'a> fn(_: &'a JsValue) -> Option<<valueAsNumber as BindDescriptor>::ValueTy> = {sycamore_web::wasm_bindgen::JsValue::as_f64 as for<'a> fn(&'a sycamore_web::wasm_bindgen::JsValue) -> std::option::Option<<sycamore_web::bind::valueAsNumber as sycamore_web::bind::BindDescriptor>::ValueTy>}
Function for converting from JS to Rust type.
Auto Trait Implementations§
impl Freeze for valueAsNumber
impl RefUnwindSafe for valueAsNumber
impl Send for valueAsNumber
impl Sync for valueAsNumber
impl Unpin for valueAsNumber
impl UnwindSafe for valueAsNumber
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