pub struct Blank;Expand description
Alias of Object, used by older hosts.
A blank object is an object that isn’t an instance of a class. The specification recommends to use an Object with an id of None, but some hosts still use it and therefore, it’s included in this library.
If you want to read an object, you should also support Blanks, but if you want to write an object, you should always use Object.
Trait Implementations§
Source§impl<'a, 'b> Atom<'a, 'b> for Blankwhere
'a: 'b,
impl<'a, 'b> Atom<'a, 'b> for Blankwhere
'a: 'b,
Source§type ReadParameter = <Object as Atom<'a, 'b>>::ReadParameter
type ReadParameter = <Object as Atom<'a, 'b>>::ReadParameter
The atom-specific parameter of the
read function. Read moreSource§type ReadHandle = <Object as Atom<'a, 'b>>::ReadHandle
type ReadHandle = <Object as Atom<'a, 'b>>::ReadHandle
The return value of the
read function. Read moreSource§type WriteParameter = <Object as Atom<'a, 'b>>::WriteParameter
type WriteParameter = <Object as Atom<'a, 'b>>::WriteParameter
The atom-specific parameter of the
write function. Read moreSource§type WriteHandle = <Object as Atom<'a, 'b>>::WriteHandle
type WriteHandle = <Object as Atom<'a, 'b>>::WriteHandle
The return value of the
write function. Read moreSource§fn read(
body: Space<'a>,
parameter: Self::ReadParameter,
) -> Option<Self::ReadHandle>
fn read( body: Space<'a>, parameter: Self::ReadParameter, ) -> Option<Self::ReadHandle>
Read the body of the atom. Read more
Source§fn init(
frame: FramedMutSpace<'a, 'b>,
parameter: Self::WriteParameter,
) -> Option<Self::WriteHandle>
fn init( frame: FramedMutSpace<'a, 'b>, parameter: Self::WriteParameter, ) -> Option<Self::WriteHandle>
Initialize the body of the atom. Read more
Auto Trait Implementations§
impl Freeze for Blank
impl RefUnwindSafe for Blank
impl Send for Blank
impl Sync for Blank
impl Unpin for Blank
impl UnwindSafe for Blank
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