/dports/www/castor/castor-0.8.16/cargo-crates/cairo-rs-0.8.1/src/ |
H A D | ps.rs | 14 use enums::{PsLevel, SurfaceType}; 23 impl PsLevel { implementation 45 pub fn get_levels() -> impl Iterator<Item = PsLevel> { in get_levels() 54 lvls_slice.iter().map(|v| PsLevel::from(*v)) in get_levels() 57 pub fn restrict(&self, level: PsLevel) { in restrict() argument 134 assert!(PsSurface::get_levels().any(|v| v == PsLevel::_2)); in levels() 139 let ver_str = PsLevel::_2.as_str().unwrap(); in level_string()
|
H A D | enums.rs | 1875 pub enum PsLevel { enum 1884 impl Into<ffi::cairo_ps_level_t> for PsLevel { implementation 1887 PsLevel::_2 => ffi::PS_LEVEL__2, in into() 1888 PsLevel::_3 => ffi::PS_LEVEL__3, in into() 1889 PsLevel::__Unknown(value) => value, in into() 1896 impl From<ffi::cairo_ps_level_t> for PsLevel { implementation 1899 ffi::PS_LEVEL__2 => PsLevel::_2, in from() 1900 ffi::PS_LEVEL__3 => PsLevel::_3, in from() 1907 impl fmt::Display for PsLevel { implementation 1913 PsLevel::_2 => "_2", in fmt() [all …]
|
/dports/net-im/fractal/fractal-4.4.0/vendor/cairo-rs/src/ |
H A D | ps.rs | 14 use enums::{PsLevel, SurfaceType}; 23 impl PsLevel { implementation 45 pub fn get_levels() -> impl Iterator<Item = PsLevel> { in get_levels() 54 lvls_slice.iter().map(|v| PsLevel::from(*v)) in get_levels() 57 pub fn restrict(&self, level: PsLevel) { in restrict() argument 134 assert!(PsSurface::get_levels().any(|v| v == PsLevel::_2)); in levels() 139 let ver_str = PsLevel::_2.as_str().unwrap(); in level_string()
|
H A D | enums.rs | 1875 pub enum PsLevel { enum 1884 impl Into<ffi::cairo_ps_level_t> for PsLevel { implementation 1887 PsLevel::_2 => ffi::PS_LEVEL__2, in into() 1888 PsLevel::_3 => ffi::PS_LEVEL__3, in into() 1889 PsLevel::__Unknown(value) => value, in into() 1896 impl From<ffi::cairo_ps_level_t> for PsLevel { implementation 1899 ffi::PS_LEVEL__2 => PsLevel::_2, in from() 1900 ffi::PS_LEVEL__3 => PsLevel::_3, in from() 1907 impl fmt::Display for PsLevel { implementation 1913 PsLevel::_2 => "_2", in fmt() [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/cairo-rs-0.14.3/src/ |
H A D | ps.rs | 12 use crate::enums::{PsLevel, SurfaceType}; 19 impl PsLevel { impl 44 pub fn levels() -> impl Iterator<Item = PsLevel> { in levels() 53 lvls_slice.iter().map(|v| PsLevel::from(*v)) in levels() 57 pub fn restrict(&self, level: PsLevel) { in restrict() argument 141 assert!(PsSurface::levels().any(|v| v == PsLevel::_2)); in levels() 146 let ver_str = PsLevel::_2.as_str().unwrap(); in level_string()
|
H A D | enums.rs | 1835 pub enum PsLevel { enum 1846 impl From<PsLevel> for ffi::cairo_ps_level_t { 1847 fn from(val: PsLevel) -> ffi::cairo_ps_level_t { in from() 1849 PsLevel::_2 => ffi::PS_LEVEL__2, in from() 1850 PsLevel::_3 => ffi::PS_LEVEL__3, in from() 1851 PsLevel::__Unknown(value) => value, in from() 1858 impl From<ffi::cairo_ps_level_t> for PsLevel { implementation 1869 impl fmt::Display for PsLevel { implementation
|
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/cairo-rs/src/ |
H A D | ps.rs | 12 use crate::enums::{PsLevel, SurfaceType}; 19 impl PsLevel { impl 44 pub fn levels() -> impl Iterator<Item = PsLevel> { in levels() 53 lvls_slice.iter().map(|v| PsLevel::from(*v)) in levels() 57 pub fn restrict(&self, level: PsLevel) { in restrict() argument 141 assert!(PsSurface::levels().any(|v| v == PsLevel::_2)); in levels() 146 let ver_str = PsLevel::_2.as_str().unwrap(); in level_string()
|
H A D | enums.rs | 1835 pub enum PsLevel { enum 1846 impl From<PsLevel> for ffi::cairo_ps_level_t { 1847 fn from(val: PsLevel) -> ffi::cairo_ps_level_t { in from() 1849 PsLevel::_2 => ffi::PS_LEVEL__2, in from() 1850 PsLevel::_3 => ffi::PS_LEVEL__3, in from() 1851 PsLevel::__Unknown(value) => value, in from() 1858 impl From<ffi::cairo_ps_level_t> for PsLevel { implementation 1869 impl fmt::Display for PsLevel { implementation
|
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/cairo-rs-0.14.9/src/ |
H A D | ps.rs | 12 use crate::enums::{PsLevel, SurfaceType}; 19 impl PsLevel { implementation 44 pub fn levels() -> impl Iterator<Item = PsLevel> { in levels() 53 lvls_slice.iter().map(|v| PsLevel::from(*v)) in levels() 57 pub fn restrict(&self, level: PsLevel) { in restrict() argument 141 assert!(PsSurface::levels().any(|v| v == PsLevel::_2)); in levels() 146 let ver_str = PsLevel::_2.as_str().unwrap(); in level_string()
|
H A D | enums.rs | 1835 pub enum PsLevel { enum 1846 impl From<PsLevel> for ffi::cairo_ps_level_t { 1847 fn from(val: PsLevel) -> ffi::cairo_ps_level_t { in from() 1849 PsLevel::_2 => ffi::PS_LEVEL__2, in from() 1850 PsLevel::_3 => ffi::PS_LEVEL__3, in from() 1851 PsLevel::__Unknown(value) => value, in from() 1858 impl From<ffi::cairo_ps_level_t> for PsLevel { implementation 1869 impl fmt::Display for PsLevel { implementation
|
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/cairo-rs-0.14.9/src/ |
H A D | ps.rs | 12 use crate::enums::{PsLevel, SurfaceType}; 19 impl PsLevel { impl 44 pub fn levels() -> impl Iterator<Item = PsLevel> { in levels() 53 lvls_slice.iter().map(|v| PsLevel::from(*v)) in levels() 57 pub fn restrict(&self, level: PsLevel) { in restrict() argument 141 assert!(PsSurface::levels().any(|v| v == PsLevel::_2)); in levels() 146 let ver_str = PsLevel::_2.as_str().unwrap(); in level_string()
|
H A D | enums.rs | 1835 pub enum PsLevel { enum 1846 impl From<PsLevel> for ffi::cairo_ps_level_t { 1847 fn from(val: PsLevel) -> ffi::cairo_ps_level_t { in from() 1849 PsLevel::_2 => ffi::PS_LEVEL__2, in from() 1850 PsLevel::_3 => ffi::PS_LEVEL__3, in from() 1851 PsLevel::__Unknown(value) => value, in from() 1858 impl From<ffi::cairo_ps_level_t> for PsLevel { implementation 1869 impl fmt::Display for PsLevel { implementation
|
/dports/x11/wmfocus/wmfocus-1.2.0/cargo-crates/cairo-rs-0.14.1/src/ |
H A D | ps.rs | 12 use crate::enums::{PsLevel, SurfaceType}; 19 impl PsLevel { implementation 44 pub fn levels() -> impl Iterator<Item = PsLevel> { in levels() 53 lvls_slice.iter().map(|v| PsLevel::from(*v)) in levels() 57 pub fn restrict(&self, level: PsLevel) { in restrict() argument 141 assert!(PsSurface::levels().any(|v| v == PsLevel::_2)); in levels() 146 let ver_str = PsLevel::_2.as_str().unwrap(); in level_string()
|
H A D | enums.rs | 1835 pub enum PsLevel { enum 1846 impl From<PsLevel> for ffi::cairo_ps_level_t { 1847 fn from(val: PsLevel) -> ffi::cairo_ps_level_t { in from() 1849 PsLevel::_2 => ffi::PS_LEVEL__2, in from() 1850 PsLevel::_3 => ffi::PS_LEVEL__3, in from() 1851 PsLevel::__Unknown(value) => value, in from() 1858 impl From<ffi::cairo_ps_level_t> for PsLevel { implementation 1869 impl fmt::Display for PsLevel { implementation
|
/dports/x11/sirula/sirula-1.0.0/cargo-crates/cairo-rs-0.14.7/src/ |
H A D | ps.rs | 12 use crate::enums::{PsLevel, SurfaceType}; 19 impl PsLevel { implementation 44 pub fn levels() -> impl Iterator<Item = PsLevel> { in levels() 53 lvls_slice.iter().map(|v| PsLevel::from(*v)) in levels() 57 pub fn restrict(&self, level: PsLevel) { in restrict() argument 141 assert!(PsSurface::levels().any(|v| v == PsLevel::_2)); in levels() 146 let ver_str = PsLevel::_2.as_str().unwrap(); in level_string()
|
H A D | enums.rs | 1835 pub enum PsLevel { enum 1846 impl From<PsLevel> for ffi::cairo_ps_level_t { 1847 fn from(val: PsLevel) -> ffi::cairo_ps_level_t { in from() 1849 PsLevel::_2 => ffi::PS_LEVEL__2, in from() 1850 PsLevel::_3 => ffi::PS_LEVEL__3, in from() 1851 PsLevel::__Unknown(value) => value, in from() 1858 impl From<ffi::cairo_ps_level_t> for PsLevel { implementation 1869 impl fmt::Display for PsLevel { implementation
|
/dports/x11/squeekboard/squeekboard-d49ce45de0956432cef9b957f806d9377fee4bc0/cargo-crates/cairo-rs-0.7.1/src/ |
H A D | ps.rs | 12 use enums::PsLevel; 19 impl PsLevel { impl 93 pub fn get_levels() -> impl Iterator<Item = PsLevel> { in get_levels() 102 lvls_slice.iter().map(|v| PsLevel::from(*v)) in get_levels() 105 pub fn restrict(&self, level: PsLevel) { in restrict() argument 196 assert!(PsSurface::get_levels().any(|v| v == PsLevel::_2)); in levels() 201 let ver_str = PsLevel::_2.as_str().unwrap(); in level_string()
|
H A D | enums.rs | 1867 pub enum PsLevel { enum 1876 impl Into<ffi::cairo_ps_level_t> for PsLevel { implementation 1879 PsLevel::_2 => ffi::PS_LEVEL__2, in into() 1880 PsLevel::_3 => ffi::PS_LEVEL__3, in into() 1881 PsLevel::__Unknown(value) => value, in into() 1888 impl From<ffi::cairo_ps_level_t> for PsLevel { implementation 1891 ffi::PS_LEVEL__2 => PsLevel::_2, in from() 1892 ffi::PS_LEVEL__3 => PsLevel::_3, in from() 1899 impl fmt::Display for PsLevel { implementation 1905 PsLevel::_2 => "_2", in fmt() [all …]
|
/dports/graphics/cairomm/cairomm-1.12.2/cairomm/ |
H A D | surface.h | 700 } PsLevel; typedef 818 void restrict_to_level(PsLevel level); 826 static const std::vector<PsLevel> get_levels(); 839 static std::string level_to_string(PsLevel level);
|
H A D | surface.cc | 535 void PsSurface::restrict_to_level(PsLevel level) in restrict_to_level() 541 const std::vector<PsLevel> PsSurface::get_levels() in get_levels() 550 std::vector<PsLevel> vec; in get_levels() 553 vec.push_back(static_cast<PsLevel>(levels[i])); in get_levels() 558 std::string PsSurface::level_to_string(PsLevel level) in level_to_string()
|
/dports/audio/gradio/Gradio-7.3/src/vapis/ |
H A D | cairo.vapi | 284 public static void get_levels (out unowned Cairo.PsLevel[] levels); 285 public void restrict_to_level (Cairo.PsLevel level); 733 public enum PsLevel { 739 public static void get_levels (out unowned Cairo.PsLevel[] levels);
|
/dports/lang/vala/vala-0.48.18/vapi/ |
H A D | cairo.vapi | 364 public static void get_levels (out unowned Cairo.PsLevel[] levels); 365 public void restrict_to_level (Cairo.PsLevel level); 966 public enum PsLevel { 972 public static void get_levels (out unowned Cairo.PsLevel[] levels);
|
/dports/devel/lua-lgi/lgi-0.9.2/lgi/override/ |
H A D | cairo.lua | 532 restrict_to_level = { cairo.PsLevel },
|