pub struct Box2d {
pub min_x: f64,
pub min_y: f64,
pub max_x: f64,
pub max_y: f64,
}Fields§
§min_x: f64§min_y: f64§max_x: f64§max_y: f64Trait Implementations§
impl Copy for Box2d
Source§impl RadixType for Box2d
impl RadixType for Box2d
const LOCAL_ID: &'static str = "box2d"
const DISPLAY_NAME: &'static str = "box2d"
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 = 32u32
const MAX_BYTES: u32 = 32u32
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 Box2d
impl RefUnwindSafe for Box2d
impl Send for Box2d
impl Sync for Box2d
impl Unpin for Box2d
impl UnsafeUnpin for Box2d
impl UnwindSafe for Box2d
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