Skip to main content

IntegerField

Struct IntegerField 

Source
pub struct IntegerField<T, N> { /* private fields */ }
Available on crate feature query only.
Expand description

A typed handle for a fixed-width integer field N on T.

Only the ten portable fixed-width Rust integer primitives have authoring methods.

§Examples

use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> = __private::integer_field("row", "count");
let _ = field.eq(7_i64);

Implementations§

Source§

impl<T> IntegerField<T, i8>

Source

pub fn eq(self, value: i8) -> FilterExpr<T>

Compare with one exact fixed-width integer value.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
assert_eq!(field.eq(1), field.eq(1));
Source

pub fn is_in(self, values: impl IntoIterator<Item = i8>) -> FilterExpr<T>

Test membership in an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.is_in([1, 2]);
Source

pub fn not_in(self, values: impl IntoIterator<Item = i8>) -> FilterExpr<T>

Test exclusion from an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.not_in([1, 2]);
Source

pub fn lt(self, bound: i8) -> FilterExpr<T>

Test that the field is below a bound.

Ordering exists for integers and not for text or booleans, so a comparison that has no meaning for a field’s type does not compile.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lt(10);
Source

pub fn lte(self, bound: i8) -> FilterExpr<T>

Test that the field is at or below a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lte(10);
Source

pub fn gt(self, bound: i8) -> FilterExpr<T>

Test that the field is above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gt(1);
Source

pub fn gte(self, bound: i8) -> FilterExpr<T>

Test that the field is at or above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gte(1);
Source§

impl<T> IntegerField<T, i16>

Source

pub fn eq(self, value: i16) -> FilterExpr<T>

Compare with one exact fixed-width integer value.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
assert_eq!(field.eq(1), field.eq(1));
Source

pub fn is_in(self, values: impl IntoIterator<Item = i16>) -> FilterExpr<T>

Test membership in an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.is_in([1, 2]);
Source

pub fn not_in(self, values: impl IntoIterator<Item = i16>) -> FilterExpr<T>

Test exclusion from an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.not_in([1, 2]);
Source

pub fn lt(self, bound: i16) -> FilterExpr<T>

Test that the field is below a bound.

Ordering exists for integers and not for text or booleans, so a comparison that has no meaning for a field’s type does not compile.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lt(10);
Source

pub fn lte(self, bound: i16) -> FilterExpr<T>

Test that the field is at or below a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lte(10);
Source

pub fn gt(self, bound: i16) -> FilterExpr<T>

Test that the field is above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gt(1);
Source

pub fn gte(self, bound: i16) -> FilterExpr<T>

Test that the field is at or above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gte(1);
Source§

impl<T> IntegerField<T, i32>

Source

pub fn eq(self, value: i32) -> FilterExpr<T>

Compare with one exact fixed-width integer value.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
assert_eq!(field.eq(1), field.eq(1));
Source

pub fn is_in(self, values: impl IntoIterator<Item = i32>) -> FilterExpr<T>

Test membership in an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.is_in([1, 2]);
Source

pub fn not_in(self, values: impl IntoIterator<Item = i32>) -> FilterExpr<T>

Test exclusion from an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.not_in([1, 2]);
Source

pub fn lt(self, bound: i32) -> FilterExpr<T>

Test that the field is below a bound.

Ordering exists for integers and not for text or booleans, so a comparison that has no meaning for a field’s type does not compile.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lt(10);
Source

pub fn lte(self, bound: i32) -> FilterExpr<T>

Test that the field is at or below a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lte(10);
Source

pub fn gt(self, bound: i32) -> FilterExpr<T>

Test that the field is above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gt(1);
Source

pub fn gte(self, bound: i32) -> FilterExpr<T>

Test that the field is at or above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gte(1);
Source§

impl<T> IntegerField<T, i64>

Source

pub fn eq(self, value: i64) -> FilterExpr<T>

Compare with one exact fixed-width integer value.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
assert_eq!(field.eq(1), field.eq(1));
Source

pub fn is_in(self, values: impl IntoIterator<Item = i64>) -> FilterExpr<T>

Test membership in an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.is_in([1, 2]);
Source

pub fn not_in(self, values: impl IntoIterator<Item = i64>) -> FilterExpr<T>

Test exclusion from an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.not_in([1, 2]);
Source

pub fn lt(self, bound: i64) -> FilterExpr<T>

Test that the field is below a bound.

Ordering exists for integers and not for text or booleans, so a comparison that has no meaning for a field’s type does not compile.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lt(10);
Source

pub fn lte(self, bound: i64) -> FilterExpr<T>

Test that the field is at or below a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lte(10);
Source

pub fn gt(self, bound: i64) -> FilterExpr<T>

Test that the field is above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gt(1);
Source

pub fn gte(self, bound: i64) -> FilterExpr<T>

Test that the field is at or above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gte(1);
Source§

impl<T> IntegerField<T, i128>

Source

pub fn eq(self, value: i128) -> FilterExpr<T>

Compare with one exact fixed-width integer value.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
assert_eq!(field.eq(1), field.eq(1));
Source

pub fn is_in(self, values: impl IntoIterator<Item = i128>) -> FilterExpr<T>

Test membership in an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.is_in([1, 2]);
Source

pub fn not_in(self, values: impl IntoIterator<Item = i128>) -> FilterExpr<T>

Test exclusion from an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.not_in([1, 2]);
Source

pub fn lt(self, bound: i128) -> FilterExpr<T>

Test that the field is below a bound.

Ordering exists for integers and not for text or booleans, so a comparison that has no meaning for a field’s type does not compile.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lt(10);
Source

pub fn lte(self, bound: i128) -> FilterExpr<T>

Test that the field is at or below a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lte(10);
Source

pub fn gt(self, bound: i128) -> FilterExpr<T>

Test that the field is above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gt(1);
Source

pub fn gte(self, bound: i128) -> FilterExpr<T>

Test that the field is at or above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gte(1);
Source§

impl<T> IntegerField<T, u8>

Source

pub fn eq(self, value: u8) -> FilterExpr<T>

Compare with one exact fixed-width integer value.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
assert_eq!(field.eq(1), field.eq(1));
Source

pub fn is_in(self, values: impl IntoIterator<Item = u8>) -> FilterExpr<T>

Test membership in an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.is_in([1, 2]);
Source

pub fn not_in(self, values: impl IntoIterator<Item = u8>) -> FilterExpr<T>

Test exclusion from an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.not_in([1, 2]);
Source

pub fn lt(self, bound: u8) -> FilterExpr<T>

Test that the field is below a bound.

Ordering exists for integers and not for text or booleans, so a comparison that has no meaning for a field’s type does not compile.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lt(10);
Source

pub fn lte(self, bound: u8) -> FilterExpr<T>

Test that the field is at or below a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lte(10);
Source

pub fn gt(self, bound: u8) -> FilterExpr<T>

Test that the field is above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gt(1);
Source

pub fn gte(self, bound: u8) -> FilterExpr<T>

Test that the field is at or above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gte(1);
Source§

impl<T> IntegerField<T, u16>

Source

pub fn eq(self, value: u16) -> FilterExpr<T>

Compare with one exact fixed-width integer value.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
assert_eq!(field.eq(1), field.eq(1));
Source

pub fn is_in(self, values: impl IntoIterator<Item = u16>) -> FilterExpr<T>

Test membership in an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.is_in([1, 2]);
Source

pub fn not_in(self, values: impl IntoIterator<Item = u16>) -> FilterExpr<T>

Test exclusion from an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.not_in([1, 2]);
Source

pub fn lt(self, bound: u16) -> FilterExpr<T>

Test that the field is below a bound.

Ordering exists for integers and not for text or booleans, so a comparison that has no meaning for a field’s type does not compile.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lt(10);
Source

pub fn lte(self, bound: u16) -> FilterExpr<T>

Test that the field is at or below a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lte(10);
Source

pub fn gt(self, bound: u16) -> FilterExpr<T>

Test that the field is above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gt(1);
Source

pub fn gte(self, bound: u16) -> FilterExpr<T>

Test that the field is at or above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gte(1);
Source§

impl<T> IntegerField<T, u32>

Source

pub fn eq(self, value: u32) -> FilterExpr<T>

Compare with one exact fixed-width integer value.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
assert_eq!(field.eq(1), field.eq(1));
Source

pub fn is_in(self, values: impl IntoIterator<Item = u32>) -> FilterExpr<T>

Test membership in an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.is_in([1, 2]);
Source

pub fn not_in(self, values: impl IntoIterator<Item = u32>) -> FilterExpr<T>

Test exclusion from an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.not_in([1, 2]);
Source

pub fn lt(self, bound: u32) -> FilterExpr<T>

Test that the field is below a bound.

Ordering exists for integers and not for text or booleans, so a comparison that has no meaning for a field’s type does not compile.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lt(10);
Source

pub fn lte(self, bound: u32) -> FilterExpr<T>

Test that the field is at or below a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lte(10);
Source

pub fn gt(self, bound: u32) -> FilterExpr<T>

Test that the field is above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gt(1);
Source

pub fn gte(self, bound: u32) -> FilterExpr<T>

Test that the field is at or above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gte(1);
Source§

impl<T> IntegerField<T, u64>

Source

pub fn eq(self, value: u64) -> FilterExpr<T>

Compare with one exact fixed-width integer value.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
assert_eq!(field.eq(1), field.eq(1));
Source

pub fn is_in(self, values: impl IntoIterator<Item = u64>) -> FilterExpr<T>

Test membership in an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.is_in([1, 2]);
Source

pub fn not_in(self, values: impl IntoIterator<Item = u64>) -> FilterExpr<T>

Test exclusion from an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.not_in([1, 2]);
Source

pub fn lt(self, bound: u64) -> FilterExpr<T>

Test that the field is below a bound.

Ordering exists for integers and not for text or booleans, so a comparison that has no meaning for a field’s type does not compile.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lt(10);
Source

pub fn lte(self, bound: u64) -> FilterExpr<T>

Test that the field is at or below a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lte(10);
Source

pub fn gt(self, bound: u64) -> FilterExpr<T>

Test that the field is above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gt(1);
Source

pub fn gte(self, bound: u64) -> FilterExpr<T>

Test that the field is at or above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gte(1);
Source§

impl<T> IntegerField<T, u128>

Source

pub fn eq(self, value: u128) -> FilterExpr<T>

Compare with one exact fixed-width integer value.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
assert_eq!(field.eq(1), field.eq(1));
Source

pub fn is_in(self, values: impl IntoIterator<Item = u128>) -> FilterExpr<T>

Test membership in an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.is_in([1, 2]);
Source

pub fn not_in(self, values: impl IntoIterator<Item = u128>) -> FilterExpr<T>

Test exclusion from an ordered set of fixed-width integers.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.not_in([1, 2]);
Source

pub fn lt(self, bound: u128) -> FilterExpr<T>

Test that the field is below a bound.

Ordering exists for integers and not for text or booleans, so a comparison that has no meaning for a field’s type does not compile.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lt(10);
Source

pub fn lte(self, bound: u128) -> FilterExpr<T>

Test that the field is at or below a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.lte(10);
Source

pub fn gt(self, bound: u128) -> FilterExpr<T>

Test that the field is above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gt(1);
Source

pub fn gte(self, bound: u128) -> FilterExpr<T>

Test that the field is at or above a bound.

§Examples
use libtmux::query::IntegerField;
use libtmux::query::__private;

struct Row;
let field: IntegerField<Row, i64> =
    __private::integer_field("row", "count");
let _ = field.gte(1);

Trait Implementations§

Source§

impl<T, N> Clone for IntegerField<T, N>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T, N> Copy for IntegerField<T, N>

Source§

impl<T, N> Debug for IntegerField<T, N>

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T, N> Eq for IntegerField<T, N>

Source§

impl<T, N> PartialEq for IntegerField<T, N>

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl ReadField<Client> for IntegerField<Client, u32>

Source§

type Value<'a> = u32

Available on crate feature query only.
What a read yields: &TmuxText or a borrowed typed ID for a text field, the value itself for any other.
Source§

impl ReadField<Client> for IntegerField<Client, u64>

Source§

type Value<'a> = u64

Available on crate feature query only.
What a read yields: &TmuxText or a borrowed typed ID for a text field, the value itself for any other.
Source§

impl ReadField<Client> for IntegerField<Client, i64>

Source§

type Value<'a> = i64

Available on crate feature query only.
What a read yields: &TmuxText or a borrowed typed ID for a text field, the value itself for any other.
Source§

impl ReadField<Pane> for IntegerField<Pane, u8>

Source§

type Value<'a> = u8

Available on crate feature query only.
What a read yields: &TmuxText or a borrowed typed ID for a text field, the value itself for any other.
Source§

impl ReadField<Pane> for IntegerField<Pane, u32>

Source§

type Value<'a> = u32

Available on crate feature query only.
What a read yields: &TmuxText or a borrowed typed ID for a text field, the value itself for any other.
Source§

impl ReadField<Pane> for IntegerField<Pane, u64>

Source§

type Value<'a> = u64

Available on crate feature query only.
What a read yields: &TmuxText or a borrowed typed ID for a text field, the value itself for any other.
Source§

impl ReadField<Pane> for IntegerField<Pane, i32>

Source§

type Value<'a> = i32

Available on crate feature query only.
What a read yields: &TmuxText or a borrowed typed ID for a text field, the value itself for any other.
Source§

impl ReadField<Pane> for IntegerField<Pane, i64>

Source§

type Value<'a> = i64

Available on crate feature query only.
What a read yields: &TmuxText or a borrowed typed ID for a text field, the value itself for any other.
Source§

impl ReadField<Session> for IntegerField<Session, u32>

Source§

type Value<'a> = u32

Available on crate feature query only.
What a read yields: &TmuxText or a borrowed typed ID for a text field, the value itself for any other.
Source§

impl ReadField<Session> for IntegerField<Session, i64>

Source§

type Value<'a> = i64

Available on crate feature query only.
What a read yields: &TmuxText or a borrowed typed ID for a text field, the value itself for any other.
Source§

impl ReadField<Window> for IntegerField<Window, u32>

Source§

type Value<'a> = u32

Available on crate feature query only.
What a read yields: &TmuxText or a borrowed typed ID for a text field, the value itself for any other.
Source§

impl ReadField<Window> for IntegerField<Window, i64>

Source§

type Value<'a> = i64

Available on crate feature query only.
What a read yields: &TmuxText or a borrowed typed ID for a text field, the value itself for any other.

Auto Trait Implementations§

§

impl<T, N> Freeze for IntegerField<T, N>
where PhantomData<fn() -> (T, N)>: Freeze,

§

impl<T, N> RefUnwindSafe for IntegerField<T, N>

§

impl<T, N> Send for IntegerField<T, N>
where PhantomData<fn() -> (T, N)>: Send,

§

impl<T, N> Sync for IntegerField<T, N>
where PhantomData<fn() -> (T, N)>: Sync,

§

impl<T, N> Unpin for IntegerField<T, N>
where PhantomData<fn() -> (T, N)>: Unpin,

§

impl<T, N> UnsafeUnpin for IntegerField<T, N>

§

impl<T, N> UnwindSafe for IntegerField<T, N>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more