Struct ezomyte::ItemSockets
[−]
[src]
pub struct ItemSockets { /* fields omitted */ }
Sockets an item has, if any.
Methods
impl ItemSockets
[src]
pub fn regular_count(&self) -> u64
[src]
Number of regular sockets this item has.
pub fn abyssal_count(&self) -> u64
[src]
Number of abyssal sockets this item has.
ⓘImportant traits for Box<W>pub fn colors<'s>(&'s self) -> Box<Iterator<Item = Color> + 's>
[src]
ⓘImportant traits for Box<W>
Colors of all regular sockets (in an unspecified order).
ⓘImportant traits for Box<W>pub fn links<'s>(
&'s self
) -> Box<Iterator<Item = Box<Iterator<Item = Color> + 's>> + 's>
[src]
ⓘImportant traits for Box<W>
&'s self
) -> Box<Iterator<Item = Box<Iterator<Item = Color> + 's>> + 's>
Linked groups of regular sockets.
pub fn max_links(&self) -> usize
[src]
Maximum number of linked sockets on the item.
If an item is said to be N-linked (e.g. 5-linked), this will be N.
Trait Implementations
impl Debug for ItemSockets
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Default for ItemSockets
[src]
impl<'de> Deserialize<'de> for ItemSockets
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more