pub struct Point {
pub x: f64,
pub y: f64,
}Fields§
§x: f64§y: f64Trait Implementations§
impl Copy for Point
Source§impl RadixType for Point
impl RadixType for Point
const LOCAL_ID: &'static str = "point"
const DISPLAY_NAME: &'static str = "point"
const CODEC_VERSION: u32 = 1u32
const SEMANTIC_REVISION: u32 = 1u32
const STORAGE_KIND: u16 = ::radixdb_plugin::__private::abi::RADIX_EXTERNAL_STORAGE_FIXED
const FIXED_BYTES: u32 = 16u32
const MAX_BYTES: u32 = 16u32
const CAPABILITIES: u64 = 7u64
const CODEC_FINGERPRINT: [u8; 32]
fn encode(&self, output: &mut CodecWriter) -> PluginResult<()>
fn decode(input: &mut CodecReader<'_>) -> PluginResult<Self>
fn test_corpus() -> Vec<Self>
fn semantic_equal(left: &Self, right: &Self) -> Option<bool>
fn semantic_hash( value: &Self, sink: &mut HashSink<'_>, ) -> Option<PluginResult<()>>
fn semantic_compare(left: &Self, right: &Self) -> Option<Ordering>
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnsafeUnpin for Point
impl UnwindSafe for Point
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