[−][src]Struct azimuth::Point
An Azimuth point, an address that can be bound to an Urbit ship server.
Urbit addresses can be up to 128 bits, but Azimuth only includes points for addresses up to 32 bits, which can be owned and transferred independently.
Methods
impl Point
[src]
impl Point
[src]
pub fn name(self) -> String
[src]
pub fn class(self) -> PointClass
[src]
pub fn children(self) -> RangeInclusive<Point>
[src]
pub fn parent(self) -> Option<Point>
[src]
Trait Implementations
impl PartialOrd<Point> for Point
[src]
fn partial_cmp(&self, other: &Point) -> Option<Ordering>
[src]
fn lt(&self, other: &Point) -> bool
[src]
fn le(&self, other: &Point) -> bool
[src]
fn gt(&self, other: &Point) -> bool
[src]
fn ge(&self, other: &Point) -> bool
[src]
impl Copy for Point
[src]
impl PartialEq<Point> for Point
[src]
impl Default for Point
[src]
impl From<u32> for Point
[src]
impl From<Point> for u32
[src]
impl Clone for Point
[src]
fn clone(&self) -> Point
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Ord for Point
[src]
fn cmp(&self, other: &Point) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl Eq for Point
[src]
impl Display for Point
[src]
impl Debug for Point
[src]
impl Hash for Point
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Step for Point
[src]
fn replace_one(&mut self) -> Self
[src]
fn replace_zero(&mut self) -> Self
[src]
fn add_one(&self) -> Self
[src]
fn sub_one(&self) -> Self
[src]
fn steps_between(start: &Self, end: &Self) -> Option<usize>
[src]
fn add_usize(&self, n: usize) -> Option<Self>
[src]
impl Serialize for Point
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Point
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,