Enum cosmic_space::wave::Recipients
source · Variants
Implementations
sourceimpl Recipients
impl Recipients
sourceimpl Recipients
impl Recipients
pub fn select_ports(&self, point: &Point) -> Vec<&Surface> ⓘ
pub fn is_single(&self) -> bool
pub fn is_multi(&self) -> bool
pub fn is_stars(&self) -> bool
pub fn is_watch(&self) -> bool
pub fn unwrap_single(self) -> Surface
pub fn single_or(self) -> Result<Surface, SpaceErr>
Trait Implementations
sourceimpl Clone for Recipients
impl Clone for Recipients
sourcefn clone(&self) -> Recipients
fn clone(&self) -> Recipients
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Recipients
impl Debug for Recipients
sourceimpl<'de> Deserialize<'de> for Recipients
impl<'de> Deserialize<'de> for Recipients
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Into<Recipients> for Surface
impl Into<Recipients> for Surface
sourcefn into(self) -> Recipients
fn into(self) -> Recipients
Converts this type into the (usually inferred) input type.
sourceimpl PartialEq<Recipients> for Recipients
impl PartialEq<Recipients> for Recipients
sourcefn eq(&self, other: &Recipients) -> bool
fn eq(&self, other: &Recipients) -> bool
sourceimpl Serialize for Recipients
impl Serialize for Recipients
sourceimpl ToRecipients for &Recipients
impl ToRecipients for &Recipients
fn to_recipients(self) -> Recipients
sourceimpl ToRecipients for Recipients
impl ToRecipients for Recipients
fn to_recipients(self) -> Recipients
sourceimpl ToString for Recipients
impl ToString for Recipients
impl Eq for Recipients
impl StructuralEq for Recipients
impl StructuralPartialEq for Recipients
Auto Trait Implementations
impl RefUnwindSafe for Recipients
impl Send for Recipients
impl Sync for Recipients
impl Unpin for Recipients
impl UnwindSafe for Recipients
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
sourcefn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
sourceimpl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
sourcefn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more